summaryrefslogtreecommitdiff
path: root/test/system
diff options
context:
space:
mode:
authorEd Santiago <santiago@redhat.com>2021-11-15 07:01:22 -0700
committerEd Santiago <santiago@redhat.com>2021-11-15 07:01:22 -0700
commitc21259bf86cfd6a9d5ba2ca6326e3dc57b5b2e0f (patch)
treece45b3ab6ceadbc2a4ea7575bfd4833b5fbe90cf /test/system
parentcca6df428cb9ce187ae1341740ac1137c7a67a75 (diff)
downloadpodman-c21259bf86cfd6a9d5ba2ca6326e3dc57b5b2e0f.tar.gz
podman-c21259bf86cfd6a9d5ba2ca6326e3dc57b5b2e0f.tar.bz2
podman-c21259bf86cfd6a9d5ba2ca6326e3dc57b5b2e0f.zip
Network test: fix podman-remote-rootless corner case
Followup to #12229, in which I added a podman unshare for flake debugging. Turns out that doesn't work in podman-remote. It was not caught because CI doesn't run podman-remote rootless. Signed-off-by: Ed Santiago <santiago@redhat.com>
Diffstat (limited to 'test/system')
-rw-r--r--test/system/500-networking.bats2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/system/500-networking.bats b/test/system/500-networking.bats
index 21350ed36..deadfa90a 100644
--- a/test/system/500-networking.bats
+++ b/test/system/500-networking.bats
@@ -172,7 +172,7 @@ load helpers
# FIXME: debugging for #11871
run_podman exec $cid cat /etc/resolv.conf
- if is_rootless; then
+ if is_rootless && ! is_remote; then
run_podman unshare --rootless-cni cat /etc/resolv.conf
fi
ps uxww