github.com/containers/podman/v5@v5.1.0-rc1/test/compose/two_networks/tests.sh (about) 1 # -*- bash -*- 2 3 ctr_name="two_networks-con1-1" 4 podman container inspect "$ctr_name" --format '{{len .NetworkSettings.Networks}}' 5 is "$output" "2" "$testname : Container is connected to both networks" 6 podman container inspect "$ctr_name" --format '{{.NetworkSettings.Networks}}' 7 like "$output" "two_networks_net1" "$testname : First network name exists" 8 like "$output" "two_networks_net2" "$testname : Second network name exists"