From 1d7884b9a4f8c22bfcd2c4b76ce27de7ba949e79 Mon Sep 17 00:00:00 2001 From: baude Date: Thu, 18 Jan 2018 08:22:07 -0600 Subject: Fix test syntax Remove the use of bash -c unless it involves a bash pipe. Also, use run test_runner.sh inside script so that centos can be happy. Signed-off-by: baude Closes: #239 Approved by: baude --- test/podman_images.bats | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/podman_images.bats') diff --git a/test/podman_images.bats b/test/podman_images.bats index 3ea8af793..5812e8f8b 100644 --- a/test/podman_images.bats +++ b/test/podman_images.bats @@ -10,7 +10,7 @@ function setup() { copy_images } @test "podman images" { - run bash -c ${PODMAN_BINARY} ${PODMAN_OPTIONS} images + run ${PODMAN_BINARY} ${PODMAN_OPTIONS} images echo "$output" [ "$status" -eq 0 ] } -- cgit v1.2.3-54-g00ecf