aboutsummaryrefslogtreecommitdiff
path: root/test/kpod_tag.bats
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@gmail.com>2017-11-28 22:17:13 -0500
committerAtomic Bot <atomic-devel@projectatomic.io>2017-11-29 12:15:16 +0000
commit4a68a5303c74298f50c4a2d51e75527d439f09f1 (patch)
treeda027451d9d2532b682e1ddaabc5801911d0a0e8 /test/kpod_tag.bats
parent3180e387955c7777ab15ed2dfe7e587b54e8c308 (diff)
downloadpodman-4a68a5303c74298f50c4a2d51e75527d439f09f1.tar.gz
podman-4a68a5303c74298f50c4a2d51e75527d439f09f1.tar.bz2
podman-4a68a5303c74298f50c4a2d51e75527d439f09f1.zip
Attempt fix for persistent bash parameter expansion issues
Signed-off-by: Matthew Heon <matthew.heon@gmail.com> Closes: #68 Approved by: rhatdan
Diffstat (limited to 'test/kpod_tag.bats')
-rw-r--r--test/kpod_tag.bats24
1 files changed, 12 insertions, 12 deletions
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 ]
}