diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-12-01 22:41:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-01 22:41:11 +0100 |
commit | fbcebcb46a2444ce078dee10d8d51555bee8f177 (patch) | |
tree | e6140cedf57ebb7c7d79f214a9b42690639c3549 /test/e2e/run_privileged_test.go | |
parent | 1422cdbac192c7c9c907f88f11969c028d1e9611 (diff) | |
parent | 9ce7ade8c8dedb6a082614e45aa10d0e37c725cc (diff) | |
download | podman-fbcebcb46a2444ce078dee10d8d51555bee8f177.tar.gz podman-fbcebcb46a2444ce078dee10d8d51555bee8f177.tar.bz2 podman-fbcebcb46a2444ce078dee10d8d51555bee8f177.zip |
Merge pull request #12458 from edsantiago/remove_betrue
e2e: yet more cleanup of BeTrue/BeFalse
Diffstat (limited to 'test/e2e/run_privileged_test.go')
-rw-r--r-- | test/e2e/run_privileged_test.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/e2e/run_privileged_test.go b/test/e2e/run_privileged_test.go index 321bf27ac..f1084a3d2 100644 --- a/test/e2e/run_privileged_test.go +++ b/test/e2e/run_privileged_test.go @@ -63,9 +63,7 @@ var _ = Describe("Podman privileged container tests", func() { session := podmanTest.Podman([]string{"run", "--privileged", BB, "mount"}) session.WaitWithDefaultTimeout() Expect(session).Should(Exit(0)) - ok, lines := session.GrepString("sysfs") - Expect(ok).To(BeTrue()) - Expect(lines[0]).To(ContainSubstring("sysfs (rw,")) + Expect(session.OutputToString()).To(ContainSubstring("sysfs (rw,")) }) It("podman privileged CapEff", func() { |