summaryrefslogtreecommitdiff
path: root/test/e2e
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-09-30 17:22:54 +0000
committerGitHub <noreply@github.com>2020-09-30 17:22:54 +0000
commitf86e01ab10821d99cebb82d10c3bd5dad77af8c6 (patch)
tree8076aa51152c2c6f5e17719e896acec1182f2676 /test/e2e
parente2050d7c351d14cab2ccaa09f8a6409688496727 (diff)
parent703381b4a2b1dc761ffee0d8e36b47f21ffd92c5 (diff)
downloadpodman-f86e01ab10821d99cebb82d10c3bd5dad77af8c6.tar.gz
podman-f86e01ab10821d99cebb82d10c3bd5dad77af8c6.tar.bz2
podman-f86e01ab10821d99cebb82d10c3bd5dad77af8c6.zip
Merge pull request #7820 from giuseppe/fix-capabilities-not-root
capabilities: always set ambient and inheritable
Diffstat (limited to 'test/e2e')
-rw-r--r--test/e2e/cp_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/e2e/cp_test.go b/test/e2e/cp_test.go
index a53485fa4..0a9fa990c 100644
--- a/test/e2e/cp_test.go
+++ b/test/e2e/cp_test.go
@@ -269,11 +269,11 @@ var _ = Describe("Podman cp", func() {
session.WaitWithDefaultTimeout()
Expect(session.ExitCode()).To(Equal(0))
- session = podmanTest.Podman([]string{"exec", "-u", "testuser", "testctr", "touch", "testfile"})
+ session = podmanTest.Podman([]string{"exec", "-u", "testuser", "testctr", "touch", "/tmp/testfile"})
session.WaitWithDefaultTimeout()
Expect(session.ExitCode()).To(Equal(0))
- session = podmanTest.Podman([]string{"cp", "--pause=false", "testctr:testfile", "testfile1"})
+ session = podmanTest.Podman([]string{"cp", "--pause=false", "testctr:/tmp/testfile", "testfile1"})
session.WaitWithDefaultTimeout()
Expect(session.ExitCode()).To(Equal(0))