Skip to content

Commit 8537afc

Browse files
committed
test/e2e: fix podman run default mask test with crun 1.24
The ls call for the directory now fails with EACCES, see https://github.com/containers/crun/issues/1876 Signed-off-by: Paul Holzinger <pholzing@redhat.com>
1 parent 3bb32d8 commit 8537afc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/e2e/run_test.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,9 @@ var _ = Describe("Podman run", func() {
406406
if st.IsDir() {
407407
session = podmanTest.Podman([]string{"exec", "maskCtr", "ls", mask})
408408
session.WaitWithDefaultTimeout()
409-
Expect(session).Should(ExitCleanly())
409+
// FIXME: crun 1.24 fails with EACCES https://github.com/containers/crun/issues/1876
410+
// Thus ignore the exit status check here, we still check that the dir is empty with the output.
411+
// Expect(session).Should(ExitCleanly())
410412
Expect(session.OutputToString()).To(BeEmpty())
411413
} else {
412414
session = podmanTest.Podman([]string{"exec", "maskCtr", "cat", mask})

0 commit comments

Comments
 (0)