summaryrefslogtreecommitdiff
path: root/test/e2e
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivan@redhat.com>2022-03-25 15:50:26 +0100
committerMatthew Heon <mheon@redhat.com>2022-04-12 14:27:49 -0400
commit6ebfaa03816608ca161d02a8c32417fbd72304f4 (patch)
tree843b2277cf5f5c706f101d20015748e82a5f5424 /test/e2e
parent8292fc0a4447bd744d86938a76f53f9a3618987c (diff)
downloadpodman-6ebfaa03816608ca161d02a8c32417fbd72304f4.tar.gz
podman-6ebfaa03816608ca161d02a8c32417fbd72304f4.tar.bz2
podman-6ebfaa03816608ca161d02a8c32417fbd72304f4.zip
test: fix podman run test as rootless
aafa80918a245edcbdaceb1191d749570f1872d0 introduced the regression. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com> (cherry picked from commit 640c2d53a88f46e997d4e5a594cfc85a57e74d36)
Diffstat (limited to 'test/e2e')
-rw-r--r--test/e2e/run_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/e2e/run_test.go b/test/e2e/run_test.go
index 39de470b5..96d6d1425 100644
--- a/test/e2e/run_test.go
+++ b/test/e2e/run_test.go
@@ -506,7 +506,7 @@ var _ = Describe("Podman run", func() {
session = podmanTest.Podman([]string{"run", "--userns=keep-id", "--privileged", "--rm", ALPINE, "grep", "CapInh", "/proc/self/status"})
session.WaitWithDefaultTimeout()
Expect(session).Should(Exit(0))
- Expect(session.OutputToString()).To(ContainSubstring("0000000000000002"))
+ Expect(session.OutputToString()).To(ContainSubstring("0000000000000000"))
session = podmanTest.Podman([]string{"run", "--userns=keep-id", "--cap-add=DAC_OVERRIDE", "--rm", ALPINE, "grep", "CapInh", "/proc/self/status"})
session.WaitWithDefaultTimeout()