Skip to content

Commit

Permalink
Merge pull request #15467 from giuseppe/mount-test-private
Browse files Browse the repository at this point in the history
test: use private instead of slave for the mount
  • Loading branch information
openshift-merge-robot authored Aug 25, 2022
2 parents 9a83fe3 + 35b4f26 commit c9565b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/run_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit c9565b0

Please sign in to comment.