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-25 15:50:31 +0100
commit640c2d53a88f46e997d4e5a594cfc85a57e74d36 (patch)
tree056b99d6699f89af67dc5c812674060540dbe60a
parent37bb6aa346e584a37366538b33cd906f4762b5ab (diff)
downloadpodman-640c2d53a88f46e997d4e5a594cfc85a57e74d36.tar.gz
podman-640c2d53a88f46e997d4e5a594cfc85a57e74d36.tar.bz2
podman-640c2d53a88f46e997d4e5a594cfc85a57e74d36.zip
test: fix podman run test as rootless
aafa80918a245edcbdaceb1191d749570f1872d0 introduced the regression. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
-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()