summaryrefslogtreecommitdiff
path: root/test/kpod_mount.bats
diff options
context:
space:
mode:
Diffstat (limited to 'test/kpod_mount.bats')
-rw-r--r--test/kpod_mount.bats8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/kpod_mount.bats b/test/kpod_mount.bats
index 446ec1d8d..62b5f5ecc 100644
--- a/test/kpod_mount.bats
+++ b/test/kpod_mount.bats
@@ -22,17 +22,17 @@ function teardown() {
echo "$output"
[ "$status" -eq 0 ]
ctr_id="$output"
- run ${KPOD_BINARY} ${KPOD_OPTIONS} mount $ctr_id
+ run bash -c ${KPOD_BINARY} ${KPOD_OPTIONS} mount $ctr_id
echo "$output"
echo ${KPOD_BINARY} ${KPOD_OPTIONS} mount $ctr_id
[ "$status" -eq 0 ]
run bash -c "${KPOD_BINARY} ${KPOD_OPTIONS} mount --notruncate | grep $ctr_id"
echo "$output"
[ "$status" -eq 0 ]
- run ${KPOD_BINARY} ${KPOD_OPTIONS} unmount $ctr_id
+ run bash -c ${KPOD_BINARY} ${KPOD_OPTIONS} unmount $ctr_id
echo "$output"
[ "$status" -eq 0 ]
- run ${KPOD_BINARY} ${KPOD_OPTIONS} mount $ctr_id
+ run bash -c ${KPOD_BINARY} ${KPOD_OPTIONS} mount $ctr_id
echo "$output"
[ "$status" -eq 0 ]
root="$output"
@@ -40,7 +40,7 @@ function teardown() {
echo "$output"
[ "$status" -eq 0 ]
touch $root/foobar
- run ${KPOD_BINARY} ${KPOD_OPTIONS} unmount $ctr_id
+ run bash -c ${KPOD_BINARY} ${KPOD_OPTIONS} unmount $ctr_id
echo "$output"
[ "$status" -eq 0 ]
cleanup_ctrs