github.com/containers/podman/v5@v5.1.0-rc1/test/compose/ipam_set_ip/tests.sh (about) 1 # -*- bash -*- 2 3 ctr_name="ipam_set_ip-test-1" 4 podman container inspect "$ctr_name" --format '{{ .NetworkSettings.Networks.ipam_set_ip_net1.IPAddress }}' 5 is "$output" "10.123.0.253" "$testname : ip address is set" 6 podman container inspect "$ctr_name" --format '{{ .NetworkSettings.Networks.ipam_set_ip_net1.MacAddress }}' 7 is "$output" "32:b5:b2:55:48:72" "$testname : mac address is set"