Skip to content

Commit

Permalink
test: fix test for NOTIFY_SOCKET
Browse files Browse the repository at this point in the history
do not make any assumption on the path inside of the container.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
  • Loading branch information
giuseppe committed Nov 28, 2018
1 parent effd63d commit f7d972a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/e2e/run_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
})

Expand Down

0 comments on commit f7d972a

Please sign in to comment.