mirror of
https://github.com/containers/podman.git
synced 2025-06-25 20:26:51 +08:00
Merge pull request #1874 from ypu/mount-test
Improve podman run --mount test
This commit is contained in:
@ -204,7 +204,7 @@ var _ = Describe("Podman run", func() {
|
|||||||
Expect(session.OutputToString()).To(ContainSubstring("/run/test rw,relatime, shared"))
|
Expect(session.OutputToString()).To(ContainSubstring("/run/test rw,relatime, shared"))
|
||||||
})
|
})
|
||||||
|
|
||||||
It("podman run with mount flag", func() {
|
It("podman run with --mount flag", func() {
|
||||||
if podmanTest.Host.Arch == "ppc64le" {
|
if podmanTest.Host.Arch == "ppc64le" {
|
||||||
Skip("skip failing test on ppc64le")
|
Skip("skip failing test on ppc64le")
|
||||||
}
|
}
|
||||||
@ -226,7 +226,6 @@ var _ = Describe("Podman run", func() {
|
|||||||
found, matches := session.GrepString("/run/test")
|
found, matches := session.GrepString("/run/test")
|
||||||
Expect(found).Should(BeTrue())
|
Expect(found).Should(BeTrue())
|
||||||
Expect(matches[0]).To(ContainSubstring("rw"))
|
Expect(matches[0]).To(ContainSubstring("rw"))
|
||||||
Expect(matches[0]).To(ContainSubstring("relatime"))
|
|
||||||
Expect(matches[0]).To(ContainSubstring("shared"))
|
Expect(matches[0]).To(ContainSubstring("shared"))
|
||||||
|
|
||||||
mountPath = filepath.Join(podmanTest.TempDir, "scratchpad")
|
mountPath = filepath.Join(podmanTest.TempDir, "scratchpad")
|
||||||
|
Reference in New Issue
Block a user