mirror of
https://github.com/containers/podman.git
synced 2025-10-16 18:53:19 +08:00

Now that we only test compose v2 remove the special cases from the test code to simply the tests. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
9 lines
429 B
Bash
9 lines
429 B
Bash
# -*- bash -*-
|
|
|
|
ctr_name="two_networks-con1-1"
|
|
podman container inspect "$ctr_name" --format '{{len .NetworkSettings.Networks}}'
|
|
is "$output" "2" "$testname : Container is connected to both networks"
|
|
podman container inspect "$ctr_name" --format '{{.NetworkSettings.Networks}}'
|
|
like "$output" "two_networks_net1" "$testname : First network name exists"
|
|
like "$output" "two_networks_net2" "$testname : Second network name exists"
|