mirror of
https://github.com/containers/podman.git
synced 2025-11-29 17:48:05 +08:00
e2e: yet more cleanup of BeTrue/BeFalse
Thanks to Paul for teaching me about HaveKey() Signed-off-by: Ed Santiago <santiago@redhat.com>
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user