mirror of https://github.com/containers/podman.git
9 lines
295 B
Bash
9 lines
295 B
Bash
# -*- bash -*-
|
|
|
|
ctr_name="ipam_set_ip_test_1"
|
|
if [ "$TEST_FLAVOR" = "compose_v2" ]; then
|
|
ctr_name="ipam_set_ip-test-1"
|
|
fi
|
|
podman container inspect "$ctr_name" --format '{{ .NetworkSettings.Networks.ipam_set_ip_net1.IPAddress }}'
|
|
like "$output" "10.123.0.253" "$testname : ip address is set"
|