mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-08-08 01:45:43 +00:00
Also fix the tests so we can use the podman function with the output. Signed-off-by: Paul Holzinger <paul.holzinger@web.de>
7 lines
414 B
Bash
7 lines
414 B
Bash
# -*- 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"
|