mirror of
https://github.com/containers/podman.git
synced 2025-06-02 10:46:09 +08:00
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
This commit is contained in:
@ -11,13 +11,19 @@ function setup() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@test "test network connection with default bridge" {
|
@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"
|
echo "$output"
|
||||||
[ "$status" -eq 0 ]
|
[ "$status" -eq 0 ]
|
||||||
}
|
}
|
||||||
|
|
||||||
@test "test network connection with host" {
|
@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"
|
echo "$output"
|
||||||
[ "$status" -eq 0 ]
|
[ "$status" -eq 0 ]
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user