From e4ab0cfbc6a35d4d99f79f27971671532a90307a Mon Sep 17 00:00:00 2001 From: Valentin Rothberg Date: Mon, 11 May 2020 13:03:09 +0200 Subject: enable rootless mount tests Remove the annotation from the umount command to make mount tests pass and let podman-umount run as a non-root user. Signed-off-by: Valentin Rothberg --- cmd/podman/containers/unmount.go | 3 --- test/e2e/mount_test.go | 1 - 2 files changed, 4 deletions(-) diff --git a/cmd/podman/containers/unmount.go b/cmd/podman/containers/unmount.go index d0ca202fe..c8e551e28 100644 --- a/cmd/podman/containers/unmount.go +++ b/cmd/podman/containers/unmount.go @@ -27,9 +27,6 @@ var ( Args: func(cmd *cobra.Command, args []string) error { return parse.CheckAllLatestAndCIDFile(cmd, args, false, false) }, - Annotations: map[string]string{ - registry.ParentNSRequired: "", - }, Example: `podman umount ctrID podman umount ctrID1 ctrID2 ctrID3 podman umount --all`, diff --git a/test/e2e/mount_test.go b/test/e2e/mount_test.go index bb1e129db..ac52d8c7e 100644 --- a/test/e2e/mount_test.go +++ b/test/e2e/mount_test.go @@ -18,7 +18,6 @@ var _ = Describe("Podman mount", func() { ) BeforeEach(func() { - SkipIfRootlessV2() tempdir, err = CreateTempDirInTempDir() if err != nil { os.Exit(1) -- cgit v1.2.3-54-g00ecf