diff options
-rw-r--r-- | test/e2e/run_test.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/e2e/run_test.go b/test/e2e/run_test.go index 4ed1fbed7..85f8df246 100644 --- a/test/e2e/run_test.go +++ b/test/e2e/run_test.go @@ -292,8 +292,7 @@ var _ = Describe("Podman run", func() { session := podmanTest.Podman([]string{"run", "--rm", ALPINE, "printenv", "NOTIFY_SOCKET"}) session.WaitWithDefaultTimeout() Expect(session.ExitCode()).To(Equal(0)) - match, _ := session.GrepString(sock) - Expect(match).Should(BeTrue()) + Expect(len(session.OutputToStringArray())).To(BeNumerically(">", 0)) os.Unsetenv("NOTIFY_SOCKET") }) |