summaryrefslogtreecommitdiff
path: root/test/kpod_logs.bats
diff options
context:
space:
mode:
Diffstat (limited to 'test/kpod_logs.bats')
-rw-r--r--test/kpod_logs.bats6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/kpod_logs.bats b/test/kpod_logs.bats
index a2d74605d..bf15db380 100644
--- a/test/kpod_logs.bats
+++ b/test/kpod_logs.bats
@@ -22,7 +22,7 @@ function teardown() {
run crioctl ctr start --id "$ctr_id"
echo "$output"
[ "$status" -eq 0 ]
- run ${KPOD_BINARY} $KPOD_OPTIONS logs "$ctr_id"
+ run bash -c ${KPOD_BINARY} $KPOD_OPTIONS logs "$ctr_id"
echo "$output"
[ "$status" -eq 0 ]
cleanup_ctrs
@@ -44,7 +44,7 @@ function teardown() {
run crioctl ctr start --id "$ctr_id"
echo "$output"
[ "$status" -eq 0 ]
- run ${KPOD_BINARY} $KPOD_OPTIONS logs --tail 3 $ctr_id
+ run bash -c ${KPOD_BINARY} $KPOD_OPTIONS logs --tail 3 $ctr_id
echo "$output"
lines=$(echo "$output" | wc -l)
[ "$status" -eq 0 ]
@@ -68,7 +68,7 @@ function teardown() {
run crioctl ctr start --id "$ctr_id"
echo "$output"
[ "$status" -eq 0 ]
- run ${KPOD_BINARY} $KPOD_OPTIONS logs --since 2017-08-07T10:10:09.056611202-04:00 $ctr_id
+ run bash -c ${KPOD_BINARY} $KPOD_OPTIONS logs --since 2017-08-07T10:10:09.056611202-04:00 $ctr_id
echo "$output"
[ "$status" -eq 0 ]
cleanup_ctrs