From 01d518a9750308b92c295c2b8829038e6043439a Mon Sep 17 00:00:00 2001 From: Paul Holzinger Date: Thu, 13 Apr 2023 12:16:01 +0200 Subject: [PATCH] test/e2e: do not try to use docker as rootless Running these locally always created a popup to ask me for my password as I am in the wheel group. I would also argue that such a test should not be run on any local system ever even as root. First docker could be a symlink to podman so the check if the image is there would fail. Second starting the docker deamon in a podman test suite just feels very unexpected. Signed-off-by: Paul Holzinger --- test/e2e/push_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/test/e2e/push_test.go b/test/e2e/push_test.go index 12507c7eaf..b67cb0f712 100644 --- a/test/e2e/push_test.go +++ b/test/e2e/push_test.go @@ -342,6 +342,7 @@ var _ = Describe("Podman push", func() { It("podman push to docker daemon", func() { SkipIfRemote("Remote push does not support docker-daemon transport") + SkipIfRootless("rootless user has no permission to use default docker.sock") setup := SystemExec("bash", []string{"-c", "systemctl status docker 2>&1"}) if setup.LineInOutputContains("Active: inactive") {