aboutsummaryrefslogtreecommitdiff
path: root/test/compose/two_networks/tests.sh
blob: 1cc88aa5f6dcdeceae26b74abdd30d0b25b7fd94 (plain)
1
2
3
4
5
6
7
# -*- bash -*-

podman container inspect two_networks_con1_1 --format '{{len .NetworkSettings.Networks}}'
is "$output" "2" "$testname : Container is connected to both networks"
podman container inspect two_networks_con1_1 --format '{{.NetworkSettings.Networks}}'
like "$output" "two_networks_net1" "$testname : First network name exists"
like "$output" "two_networks_net2" "$testname : Second network name exists"