From d2eda1a8648b7e6053627e48bf500f9671f0a6c2 Mon Sep 17 00:00:00 2001 From: baude Date: Fri, 3 Nov 2017 14:37:22 -0500 Subject: Enhancements to papr tests The PR contains several enhancements to our CI testing. - enable lint testing on Fedora - add Centos Atomic as test platform - integration tests on run on the OS natively (uncontainerized) - builds are done in containers - inclusion of Vagrant file for local testing Signed-off-by: baude Closes: #18 Approved by: mheon --- test/kpod_export.bats | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'test/kpod_export.bats') diff --git a/test/kpod_export.bats b/test/kpod_export.bats index a3e58c498..ea9697b9d 100644 --- a/test/kpod_export.bats +++ b/test/kpod_export.bats @@ -9,20 +9,20 @@ function teardown() { } @test "kpod export output flag" { - skip "Test needs to be converted to kpod run" + skip "Test needs to be converted to kpod run bash -c" start_crio - run crioctl pod run --config "$TESTDATA"/sandbox_config.json + run bash -c crioctl pod run bash -c --config "$TESTDATA"/sandbox_config.json echo "$output" [ "$status" -eq 0 ] pod_id="$output" - run crioctl image pull "$IMAGE" + run bash -c crioctl image pull "$IMAGE" echo "$output" [ "$status" -eq 0 ] - run crioctl ctr create --config "$TESTDATA"/container_config.json --pod "$pod_id" + run bash -c crioctl ctr create --config "$TESTDATA"/container_config.json --pod "$pod_id" echo "$output" [ "$status" -eq 0 ] ctr_id="$output" - run ${KPOD_BINARY} ${KPOD_OPTIONS} export -o container.tar "$ctr_id" + run bash -c ${KPOD_BINARY} ${KPOD_OPTIONS} export -o container.tar "$ctr_id" echo "$output" [ "$status" -eq 0 ] cleanup_ctrs -- cgit v1.2.3-54-g00ecf