From 099876137099eea14174a1eed13a7a6b669023b8 Mon Sep 17 00:00:00 2001 From: Ed Santiago Date: Mon, 15 Nov 2021 07:01:22 -0700 Subject: [PATCH] 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 --- test/system/500-networking.bats | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/system/500-networking.bats b/test/system/500-networking.bats index 3263f3c820..bffd21b192 100644 --- a/test/system/500-networking.bats +++ b/test/system/500-networking.bats @@ -169,7 +169,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