aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivan@redhat.com>2022-03-25 15:50:26 +0100
committerGiuseppe Scrivano <gscrivan@redhat.com>2022-03-30 15:32:24 +0200
commite7b7fcbd8a8bfc71ce4d038fe50fee59ac26ca45 (patch)
treed88cc6fb228c89301a837d1b4501aed34d1cb69b
parent7b368768c2990b9781b2b6813e1c7f91c7e6cb13 (diff)
downloadpodman-e7b7fcbd8a8bfc71ce4d038fe50fee59ac26ca45.tar.gz
podman-e7b7fcbd8a8bfc71ce4d038fe50fee59ac26ca45.tar.bz2
podman-e7b7fcbd8a8bfc71ce4d038fe50fee59ac26ca45.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)
-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 f4a6e5733..81dcc4342 100644
--- a/test/e2e/run_test.go
+++ b/test/e2e/run_test.go
@@ -550,7 +550,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()