mirror of
https://github.com/containers/podman.git
synced 2025-05-31 07:27:13 +08:00
Do not support wildcards on cp
* symlink processing and wildcarding led to unexpected files being copied Signed-off-by: Jhon Honce <jhonce@redhat.com>
This commit is contained in:
@ -223,7 +223,7 @@ var _ = Describe("Podman cp", func() {
|
||||
session.WaitWithDefaultTimeout()
|
||||
Expect(session.ExitCode()).To(Equal(0))
|
||||
|
||||
session = podmanTest.Podman([]string{"cp", "testctr:testfile", "testfile1"})
|
||||
session = podmanTest.Podman([]string{"cp", "--pause=false", "testctr:testfile", "testfile1"})
|
||||
session.WaitWithDefaultTimeout()
|
||||
Expect(session.ExitCode()).To(Equal(0))
|
||||
|
||||
@ -233,7 +233,7 @@ var _ = Describe("Podman cp", func() {
|
||||
Expect(err).To(BeNil())
|
||||
Expect(strings.Contains(string(cmdRet), "testuser")).To(BeFalse())
|
||||
|
||||
session = podmanTest.Podman([]string{"cp", "testfile1", "testctr:testfile2"})
|
||||
session = podmanTest.Podman([]string{"cp", "--pause=false", "testfile1", "testctr:testfile2"})
|
||||
session.WaitWithDefaultTimeout()
|
||||
Expect(session.ExitCode()).To(Equal(0))
|
||||
|
||||
|
Reference in New Issue
Block a user