summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-08-04 12:14:47 +0200
committerGitHub <noreply@github.com>2020-08-04 12:14:47 +0200
commit919e5d4d6e6f4a54fd5b02c3f1352b00b6494936 (patch)
treee0ee0aada635cb38717075e70bff1794b5df495d /test
parent1ed1e583a06288bb2f3058f7d4dff7650af5f3bd (diff)
parent976e364a9741d10d99a71253bc69bfa8ef47a0f0 (diff)
downloadpodman-919e5d4d6e6f4a54fd5b02c3f1352b00b6494936.tar.gz
podman-919e5d4d6e6f4a54fd5b02c3f1352b00b6494936.tar.bz2
podman-919e5d4d6e6f4a54fd5b02c3f1352b00b6494936.zip
Merge pull request #7209 from giuseppe/support-mount-devpts
podman: support --mount type=devpts
Diffstat (limited to 'test')
-rw-r--r--test/e2e/run_test.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/e2e/run_test.go b/test/e2e/run_test.go
index 6bb12b54a..f2a6d14eb 100644
--- a/test/e2e/run_test.go
+++ b/test/e2e/run_test.go
@@ -811,6 +811,14 @@ USER mail`
Expect(len(session.OutputToStringArray())).To(Equal(1))
})
+ It("podman run --mount type=devpts,target=/foo/bar", func() {
+ SkipIfRootless()
+ session := podmanTest.Podman([]string{"run", "--mount", "type=devpts,target=/foo/bar", fedoraMinimal, "stat", "-f", "-c%T", "/foo/bar"})
+ session.WaitWithDefaultTimeout()
+ Expect(session.ExitCode()).To(Equal(0))
+ Expect(session.OutputToString()).To(ContainSubstring("devpts"))
+ })
+
It("podman run --pod automatically", func() {
session := podmanTest.Podman([]string{"run", "-d", "--pod", "new:foobar", ALPINE, "nc", "-l", "-p", "8080"})
session.WaitWithDefaultTimeout()