summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Rothberg <rothberg@redhat.com>2020-05-11 13:03:09 +0200
committerValentin Rothberg <rothberg@redhat.com>2020-05-11 13:03:09 +0200
commite4ab0cfbc6a35d4d99f79f27971671532a90307a (patch)
tree8b5d1d9d1c335312c9c2580fdc06ee2ab8733dd3
parent18b273b72ba76d485eb1b4d5df48bff1685953ff (diff)
downloadpodman-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.go3
-rw-r--r--test/e2e/mount_test.go1
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)