summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2018-01-16 16:15:12 -0600
committerAtomic Bot <atomic-devel@projectatomic.io>2018-01-17 01:44:36 +0000
commitf77bd95426694e1287cd6a73a11fb46b56e5a031 (patch)
tree3214fafb7074be6043a54ff2df4d57ff7ef413a2 /test
parent0985fce12ac6819e0c28f30076cf5259b01c509b (diff)
downloadpodman-f77bd95426694e1287cd6a73a11fb46b56e5a031.tar.gz
podman-f77bd95426694e1287cd6a73a11fb46b56e5a031.tar.bz2
podman-f77bd95426694e1287cd6a73a11fb46b56e5a031.zip
test/podman_networking.bats: kpod to podman
this test was still referring to KPOD_BINARY and not podman Signed-off-by: baude <bbaude@redhat.com> Closes: #235 Approved by: baude
Diffstat (limited to 'test')
-rw-r--r--test/podman_networking.bats10
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 ]
}