mirror of
https://github.com/containers/podman.git
synced 2025-12-05 12:52:12 +08:00
Use constants for mount types
Inspired by https://github.com/containers/podman/pull/19238 Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
@@ -1260,7 +1260,7 @@ USER mail`, BB)
|
||||
session := podmanTest.Podman([]string{"run", "--mount", "type=devpts,target=/foo/bar", fedoraMinimal, "stat", "-f", "-c%T", "/foo/bar"})
|
||||
session.WaitWithDefaultTimeout()
|
||||
Expect(session).Should(Exit(0))
|
||||
Expect(session.OutputToString()).To(ContainSubstring("devpts"))
|
||||
Expect(session.OutputToString()).To(ContainSubstring(define.TypeDevpts))
|
||||
})
|
||||
|
||||
It("podman run --mount type=devpts,target=/dev/pts with uid, gid and mode", func() {
|
||||
|
||||
Reference in New Issue
Block a user