diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-08-25 03:16:03 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-25 03:16:03 -0400 |
commit | c9565b051c3843e5bad63f062f8c3125c548dd63 (patch) | |
tree | 68812d212c9d5d451ca24cf7285087430fd42092 | |
parent | 9a83fe33b5c93eff0e65064cc45158d8d0f6ea0d (diff) | |
parent | 35b4f26c70fae6abb01773eb767b88eefaddcfe2 (diff) | |
download | podman-c9565b051c3843e5bad63f062f8c3125c548dd63.tar.gz podman-c9565b051c3843e5bad63f062f8c3125c548dd63.tar.bz2 podman-c9565b051c3843e5bad63f062f8c3125c548dd63.zip |
Merge pull request #15467 from giuseppe/mount-test-private
test: use private instead of slave for the mount
-rw-r--r-- | test/e2e/run_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/e2e/run_test.go b/test/e2e/run_test.go index b2840d544..1f6b6fa3d 100644 --- a/test/e2e/run_test.go +++ b/test/e2e/run_test.go @@ -1236,7 +1236,7 @@ USER mail`, BB) It("podman run --mount type=bind,bind-nonrecursive", func() { SkipIfRootless("FIXME: rootless users are not allowed to mount bind-nonrecursive") - session := podmanTest.Podman([]string{"run", "--mount", "type=bind,bind-nonrecursive,slave,src=/,target=/host", fedoraMinimal, "findmnt", "-nR", "/host"}) + session := podmanTest.Podman([]string{"run", "--mount", "type=bind,bind-nonrecursive,private,src=/sys,target=/host-sys", fedoraMinimal, "findmnt", "-nR", "/host-sys"}) session.WaitWithDefaultTimeout() Expect(session).Should(Exit(0)) Expect(session.OutputToStringArray()).To(HaveLen(1)) |