From 4a68a5303c74298f50c4a2d51e75527d439f09f1 Mon Sep 17 00:00:00 2001 From: Matthew Heon Date: Tue, 28 Nov 2017 22:17:13 -0500 Subject: Attempt fix for persistent bash parameter expansion issues Signed-off-by: Matthew Heon Closes: #68 Approved by: rhatdan --- test/kpod_tag.bats | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'test/kpod_tag.bats') diff --git a/test/kpod_tag.bats b/test/kpod_tag.bats index d2de6b075..ce3d19140 100644 --- a/test/kpod_tag.bats +++ b/test/kpod_tag.bats @@ -9,42 +9,42 @@ function teardown() { } @test "kpod tag with shortname:latest" { - run bash -c ${KPOD_BINARY} ${KPOD_OPTIONS} pull $IMAGE + run bash -c "${KPOD_BINARY} ${KPOD_OPTIONS} pull $IMAGE" echo "$output" [ "$status" -eq 0 ] - run bash -c ${KPOD_BINARY} ${KPOD_OPTIONS} tag $IMAGE foobar:latest + run bash -c "${KPOD_BINARY} ${KPOD_OPTIONS} tag $IMAGE foobar:latest" [ "$status" -eq 0 ] - run bash -c ${KPOD_BINARY} ${KPOD_OPTIONS} inspect foobar:latest + run bash -c "${KPOD_BINARY} ${KPOD_OPTIONS} inspect foobar:latest" echo "$output" [ "$status" -eq 0 ] - run bash -c ${KPOD_BINARY} ${KPOD_OPTIONS} rmi --force foobar:latest + run bash -c "${KPOD_BINARY} ${KPOD_OPTIONS} rmi --force foobar:latest" [ "$status" -eq 0 ] } @test "kpod tag with shortname" { - run bash -c ${KPOD_BINARY} ${KPOD_OPTIONS} pull $IMAGE + run bash -c "${KPOD_BINARY} ${KPOD_OPTIONS} pull $IMAGE" echo "$output" [ "$status" -eq 0 ] - run bash -c ${KPOD_BINARY} ${KPOD_OPTIONS} tag $IMAGE foobar + run bash -c "${KPOD_BINARY} ${KPOD_OPTIONS} tag $IMAGE foobar" echo "$output" [ "$status" -eq 0 ] - run bash -c ${KPOD_BINARY} ${KPOD_OPTIONS} inspect foobar:latest + run bash -c "${KPOD_BINARY} ${KPOD_OPTIONS} inspect foobar:latest" echo "$output" [ "$status" -eq 0 ] - run bash -c ${KPOD_BINARY} ${KPOD_OPTIONS} rmi --force foobar:latest + run bash -c "${KPOD_BINARY} ${KPOD_OPTIONS} rmi --force foobar:latest" [ "$status" -eq 0 ] } @test "kpod tag with shortname:tag" { - run bash -c ${KPOD_BINARY} ${KPOD_OPTIONS} pull $IMAGE + run bash -c "${KPOD_BINARY} ${KPOD_OPTIONS} pull $IMAGE" echo "$output" [ "$status" -eq 0 ] - run bash -c ${KPOD_BINARY} ${KPOD_OPTIONS} tag $IMAGE foobar:v + run bash -c "${KPOD_BINARY} ${KPOD_OPTIONS} tag $IMAGE foobar:v" echo "$output" [ "$status" -eq 0 ] - run bash -c ${KPOD_BINARY} ${KPOD_OPTIONS} inspect foobar:v + run bash -c "${KPOD_BINARY} ${KPOD_OPTIONS} inspect foobar:v" echo "$output" [ "$status" -eq 0 ] - run bash -c ${KPOD_BINARY} ${KPOD_OPTIONS} rmi --force foobar:v + run bash -c "${KPOD_BINARY} ${KPOD_OPTIONS} rmi --force foobar:v" [ "$status" -eq 0 ] } -- cgit v1.2.3-54-g00ecf