summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Heon <mheon@redhat.com>2022-03-25 13:41:46 -0400
committerGitHub <noreply@github.com>2022-03-25 13:41:46 -0400
commit1fad1413fdae206d5d87cfba91395cf6a0ea3bdd (patch)
tree056b99d6699f89af67dc5c812674060540dbe60a
parent37bb6aa346e584a37366538b33cd906f4762b5ab (diff)
parent640c2d53a88f46e997d4e5a594cfc85a57e74d36 (diff)
downloadpodman-1fad1413fdae206d5d87cfba91395cf6a0ea3bdd.tar.gz
podman-1fad1413fdae206d5d87cfba91395cf6a0ea3bdd.tar.bz2
podman-1fad1413fdae206d5d87cfba91395cf6a0ea3bdd.zip
Merge pull request #13662 from giuseppe/fix-ci-test-run
test: fix podman run test as rootless
-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()