diff options
author | Jhon Honce <jhonce@redhat.com> | 2019-09-04 15:05:08 -0700 |
---|---|---|
committer | Jhon Honce <jhonce@redhat.com> | 2019-09-12 16:56:38 -0700 |
commit | a6836eae5280dafc9ce3703bd3bad5d6720ff32e (patch) | |
tree | 22a87a6cec1a7780b3bce65a7c0c8ce95b53b8be /test/e2e | |
parent | 20772182e6a9f82403a668d228dfd81c8df06821 (diff) | |
download | podman-a6836eae5280dafc9ce3703bd3bad5d6720ff32e.tar.gz podman-a6836eae5280dafc9ce3703bd3bad5d6720ff32e.tar.bz2 podman-a6836eae5280dafc9ce3703bd3bad5d6720ff32e.zip |
Do not support wildcards on cp
* symlink processing and wildcarding led to unexpected files
being copied
Signed-off-by: Jhon Honce <jhonce@redhat.com>
Diffstat (limited to 'test/e2e')
-rw-r--r-- | test/e2e/cp_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/e2e/cp_test.go b/test/e2e/cp_test.go index edd9c70c6..9b0cb757d 100644 --- a/test/e2e/cp_test.go +++ b/test/e2e/cp_test.go @@ -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)) |