aboutsummaryrefslogtreecommitdiff
path: root/test/system
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2022-09-15 14:45:55 -0400
committerDaniel J Walsh <dwalsh@redhat.com>2022-09-16 06:14:35 -0400
commit21841dc381f252d447a00e2d4ca5082a5e80d0f7 (patch)
treec906f734036a8be65503699f1a8a0d1064b24dbd /test/system
parent4ba6ee306088a4d322fe28f292bf5d5c4d17b778 (diff)
downloadpodman-21841dc381f252d447a00e2d4ca5082a5e80d0f7.tar.gz
podman-21841dc381f252d447a00e2d4ca5082a5e80d0f7.tar.bz2
podman-21841dc381f252d447a00e2d4ca5082a5e80d0f7.zip
Default to --dns-option to match Docker and Buildah
[NO NEW TESTS NEEDED] Existing tests cover this. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'test/system')
-rw-r--r--test/system/200-pod.bats4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/system/200-pod.bats b/test/system/200-pod.bats
index 9bbd56fef..8ece6e476 100644
--- a/test/system/200-pod.bats
+++ b/test/system/200-pod.bats
@@ -221,7 +221,7 @@ EOF
--add-host "$add_host_n:$add_host_ip" \
--dns "$dns_server" \
--dns-search "$dns_search" \
- --dns-opt "$dns_opt" \
+ --dns-option "$dns_opt" \
--publish "$port_out:$port_in" \
--label "${labelname}=${labelvalue}" \
--infra-image "$infra_image" \
@@ -262,7 +262,7 @@ EOF
run_podman run --rm --pod mypod $IMAGE cat /etc/resolv.conf
is "$output" ".*nameserver $dns_server" "--dns [server] was added"
is "$output" ".*search $dns_search" "--dns-search was added"
- is "$output" ".*options $dns_opt" "--dns-opt was added"
+ is "$output" ".*options $dns_opt" "--dns-option was added"
# pod inspect
run_podman pod inspect --format '{{.Name}}: {{.ID}} : {{.NumContainers}} : {{.Labels}}' mypod