mirror of
https://github.com/containers/podman.git
synced 2025-12-01 10:38:05 +08:00
Describe copy volume options
Fixes: https://github.com/containers/podman/issues/16961 Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
@@ -49,7 +49,7 @@ var _ = Describe("Podman run with volumes", func() {
|
||||
|
||||
_ = SystemExec("ls", []string{"-l", containerStorageDir})
|
||||
|
||||
// All files should be in permament store, not volatile
|
||||
// All files should be in permanent store, not volatile
|
||||
Expect(filepath.Join(containerStorageDir, "containers.json")).Should(BeARegularFile())
|
||||
Expect(filepath.Join(containerStorageDir, "volatile-containers.json")).Should(Not(BeAnExistingFile()))
|
||||
Expect(filepath.Join(runContainerStorageDir, "containers.json")).Should(Not(BeAnExistingFile()))
|
||||
@@ -63,7 +63,7 @@ var _ = Describe("Podman run with volumes", func() {
|
||||
session.WaitWithDefaultTimeout()
|
||||
Expect(session).Should(Exit(0))
|
||||
|
||||
// All files should be in permament store, volatile
|
||||
// All files should not be in permanent store, not volatile
|
||||
Expect(filepath.Join(containerStorageDir, "containers.json")).Should(Not(BeAnExistingFile()))
|
||||
Expect(filepath.Join(containerStorageDir, "volatile-containers.json")).Should(BeARegularFile())
|
||||
Expect(filepath.Join(runContainerStorageDir, "containers.json")).Should(Not(BeAnExistingFile()))
|
||||
|
||||
Reference in New Issue
Block a user