diff options
Diffstat (limited to 'test/podman_networking.bats')
-rw-r--r-- | test/podman_networking.bats | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/test/podman_networking.bats b/test/podman_networking.bats index 017f24d8f..ba30a9897 100644 --- a/test/podman_networking.bats +++ b/test/podman_networking.bats @@ -11,13 +11,19 @@ function setup() { } @test "test network connection with default bridge" { - run ${KPOD_BINARY} ${KPOD_OPTIONS} run -dt ${ALPINE} wget www.yahoo.com + run ${PODMAN_BINARY} ${PODMAN_OPTIONS} run -dt ${ALPINE} wget www.yahoo.com + echo "$output" + [ "$status" -eq 0 ] + run ${PODMAN_BINARY} ${PODMAN_OPTIONS} wait --latest echo "$output" [ "$status" -eq 0 ] } @test "test network connection with host" { - run ${KPOD_BINARY} ${KPOD_OPTIONS} run -dt --network host ${ALPINE} wget www.yahoo.com + run ${PODMAN_BINARY} ${PODMAN_OPTIONS} run -dt --network host ${ALPINE} wget www.yahoo.com + echo "$output" + [ "$status" -eq 0 ] + run ${PODMAN_BINARY} ${PODMAN_OPTIONS} wait --latest echo "$output" [ "$status" -eq 0 ] } |