aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2023-08-21 10:00:47 -0300
committerLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2023-08-21 10:07:10 -0300
commit75cefd5b166a55dfc9e81341c1debb1baf71b101 (patch)
tree3113f6aa9fea0870931c039151e8a8d54e6cd151 /test
parentdisable all /bin/dpkg* programs in disable-common.inc (diff)
downloadfirejail-75cefd5b166a55dfc9e81341c1debb1baf71b101.tar.gz
firejail-75cefd5b166a55dfc9e81341c1debb1baf71b101.tar.zst
firejail-75cefd5b166a55dfc9e81341c1debb1baf71b101.zip
tests: fix error when /dev/kmsg is missing
This is breaking test-fs in CI since at least commit f37cd57cd ("disable all /bin/dpkg* programs in disable-common.inc", 2023-08-20)[1]. [1] https://github.com/netblue30/firejail/actions/runs/5918495917/job/16062400120
Diffstat (limited to 'test')
-rwxr-xr-xtest/fs/kmsg.exp1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/fs/kmsg.exp b/test/fs/kmsg.exp
index 3f952a4d4..1e647ab8d 100755
--- a/test/fs/kmsg.exp
+++ b/test/fs/kmsg.exp
@@ -17,6 +17,7 @@ sleep 1
17send -- "cat /dev/kmsg\r" 17send -- "cat /dev/kmsg\r"
18expect { 18expect {
19 timeout {puts "TESTING ERROR 2\n";exit} 19 timeout {puts "TESTING ERROR 2\n";exit}
20 "No such file or directory" # FIXME: Needed in CI
20 "Permission denied" 21 "Permission denied"
21} 22}
22after 100 23after 100