From 6d0ffc75d8d064d76b616ad19796e2d31a28cb96 Mon Sep 17 00:00:00 2001 From: "Kelvin M. Klann" Date: Wed, 3 May 2023 15:15:32 -0300 Subject: tests: disable ping test in test/chroot/fs_chroot.exp Sometimes ping just works normally. Log from build_and_test[1]: TESTING: chroot (test/chroot/fs_chroot.exp) spawn /bin/bash firejail --chroot=/tmp/chroot runner@fv-az615-403:~/work/firejail/firejail/test/chroot$ [...] bash-5.1$ /bin/ping 1.1.1.1 PING 1.1.1.1 (1.1.1.1) 56(84) bytes of data. TESTING ERROR 9 [1] https://github.com/kmk3/firejail/actions/runs/4875037540/jobs/8696877757 --- test/chroot/fs_chroot.exp | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'test/chroot') diff --git a/test/chroot/fs_chroot.exp b/test/chroot/fs_chroot.exp index eb1349112..8bdaa507c 100755 --- a/test/chroot/fs_chroot.exp +++ b/test/chroot/fs_chroot.exp @@ -60,11 +60,12 @@ expect { timeout {puts "TESTING ERROR 8\n";exit} "No such file or directory" } -after 100 -send -- "/bin/ping 1.1.1.1\r" -expect { - timeout {puts "TESTING ERROR 9\n";exit} - "Operation not permitted" -} +# FIXME: Sometimes ping works normally +#after 100 +#send -- "/bin/ping 1.1.1.1\r" +#expect { +# timeout {puts "TESTING ERROR 9\n";exit} +# "Operation not permitted" +#} puts "all done\n" -- cgit v1.2.3-54-g00ecf