mirror of
https://github.com/containers/podman.git
synced 2025-07-04 18:27:33 +08:00
Merge pull request #25991 from arixmkii/fix-named-volume-test
Disable FS mount in volume only test
This commit is contained in:
@ -100,16 +100,9 @@ var _ = Describe("run basic podman commands", func() {
|
|||||||
})
|
})
|
||||||
|
|
||||||
It("Single character volume mount", func() {
|
It("Single character volume mount", func() {
|
||||||
// Get a tmp directory
|
|
||||||
tDir, err := filepath.Abs(GinkgoT().TempDir())
|
|
||||||
Expect(err).ToNot(HaveOccurred())
|
|
||||||
name := randomString()
|
name := randomString()
|
||||||
i := new(initMachine).withImage(mb.imagePath).withNow()
|
i := new(initMachine).withImage(mb.imagePath).withNow()
|
||||||
|
|
||||||
// All other platforms have an implicit mount for the temp area
|
|
||||||
if isVmtype(define.QemuVirt) {
|
|
||||||
i.withVolume(tDir)
|
|
||||||
}
|
|
||||||
session, err := mb.setName(name).setCmd(i).run()
|
session, err := mb.setName(name).setCmd(i).run()
|
||||||
Expect(err).ToNot(HaveOccurred())
|
Expect(err).ToNot(HaveOccurred())
|
||||||
Expect(session).To(Exit(0))
|
Expect(session).To(Exit(0))
|
||||||
|
Reference in New Issue
Block a user