diff --git a/test/e2e/run_volume_test.go b/test/e2e/run_volume_test.go index 83953487ac..4c7b83a785 100644 --- a/test/e2e/run_volume_test.go +++ b/test/e2e/run_volume_test.go @@ -373,7 +373,7 @@ var _ = Describe("Podman run with volumes", func() { }) It("podman run with noexec can't exec", func() { - session := podmanTest.Podman([]string{"run", "--rm", "-v", "/bin:/hostbin:noexec", ALPINE, "/hostbin/ls", "/"}) + session := podmanTest.Podman([]string{"run", "--rm", "-v", "/bin:/hostbin:noexec", ALPINE, "/hostbin/true"}) session.WaitWithDefaultTimeout() Expect(session).To(ExitWithError(126, "ermission denied")) })