mirror of
https://github.com/containers/podman.git
synced 2025-06-24 03:08:13 +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:
@ -129,6 +129,6 @@ ENTRYPOINT ["grep", "Alpine", "/etc/os-release"]
|
||||
session := podmanTest.Podman([]string{"run", "--entrypoint=uname", "foobar.com/entrypoint:latest", "-r"})
|
||||
session.WaitWithDefaultTimeout()
|
||||
Expect(session).Should(Exit(0))
|
||||
Expect(session.LineInOutputStartsWith("Linux")).To(BeFalse())
|
||||
Expect(session.OutputToStringArray()).To(Not(ContainElement(HavePrefix("Linux"))))
|
||||
})
|
||||
})
|
||||
|
Reference in New Issue
Block a user