diff options
author | Valentin Rothberg <rothberg@redhat.com> | 2020-05-11 13:03:09 +0200 |
---|---|---|
committer | Valentin Rothberg <rothberg@redhat.com> | 2020-05-11 13:03:09 +0200 |
commit | e4ab0cfbc6a35d4d99f79f27971671532a90307a (patch) | |
tree | 8b5d1d9d1c335312c9c2580fdc06ee2ab8733dd3 | |
parent | 18b273b72ba76d485eb1b4d5df48bff1685953ff (diff) | |
download | podman-e4ab0cfbc6a35d4d99f79f27971671532a90307a.tar.gz podman-e4ab0cfbc6a35d4d99f79f27971671532a90307a.tar.bz2 podman-e4ab0cfbc6a35d4d99f79f27971671532a90307a.zip |
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 <rothberg@redhat.com>
-rw-r--r-- | cmd/podman/containers/unmount.go | 3 | ||||
-rw-r--r-- | test/e2e/mount_test.go | 1 |
2 files changed, 0 insertions, 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) |