diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-06-14 15:44:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-14 15:44:44 +0200 |
commit | 0ea95da7b9fcbcbe7e4ebab78f2950972c70ba68 (patch) | |
tree | 94f1f158a2bdbeecc0fe5a41b7f8474b657253a9 /test | |
parent | d5f04e920bf0cca02c9efe25ceca7639cbf31644 (diff) | |
parent | 23efe4cb819b9fb306155ab25db7e2459aba63bb (diff) | |
download | podman-0ea95da7b9fcbcbe7e4ebab78f2950972c70ba68.tar.gz podman-0ea95da7b9fcbcbe7e4ebab78f2950972c70ba68.tar.bz2 podman-0ea95da7b9fcbcbe7e4ebab78f2950972c70ba68.zip |
Merge pull request #3315 from giuseppe/support-bind-nonrecursive
storage: support --mount type=bind,bind-nonrecursive
Diffstat (limited to 'test')
-rw-r--r-- | test/e2e/run_test.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/e2e/run_test.go b/test/e2e/run_test.go index 31720ea04..3ba3c2bb3 100644 --- a/test/e2e/run_test.go +++ b/test/e2e/run_test.go @@ -659,6 +659,14 @@ USER mail` Expect(isSharedOnly).Should(BeTrue()) }) + It("podman run --mount type=bind,bind-nonrecursive", func() { + SkipIfRootless() + session := podmanTest.Podman([]string{"run", "--mount", "type=bind,bind-nonrecursive,slave,src=/,target=/host", fedoraMinimal, "findmnt", "-nR", "/host"}) + session.WaitWithDefaultTimeout() + Expect(session.ExitCode()).To(Equal(0)) + Expect(len(session.OutputToStringArray())).To(Equal(1)) + }) + It("podman run --pod automatically", func() { session := podmanTest.Podman([]string{"run", "--pod", "new:foobar", ALPINE, "ls"}) session.WaitWithDefaultTimeout() |