aboutsummaryrefslogtreecommitdiff
path: root/test/e2e/run_working_dir_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/e2e/run_working_dir_test.go')
-rw-r--r--test/e2e/run_working_dir_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/e2e/run_working_dir_test.go b/test/e2e/run_working_dir_test.go
index ac78110bf..bcc85dd9b 100644
--- a/test/e2e/run_working_dir_test.go
+++ b/test/e2e/run_working_dir_test.go
@@ -60,7 +60,7 @@ WORKDIR /etc/foobar`, ALPINE)
session = podmanTest.Podman([]string{"run", "test", "ls", "-ld", "."})
session.WaitWithDefaultTimeout()
- Expect(session.LineInOutputContains("bin")).To(BeTrue())
+ Expect(session.OutputToString()).To(ContainSubstring("bin"))
session = podmanTest.Podman([]string{"run", "--workdir", "/home/foobar", "test", "pwd"})
session.WaitWithDefaultTimeout()