diff options
author | Kelvin M. Klann <kmk3.code@protonmail.com> | 2023-08-21 10:00:47 -0300 |
---|---|---|
committer | Kelvin M. Klann <kmk3.code@protonmail.com> | 2023-08-21 10:07:10 -0300 |
commit | 75cefd5b166a55dfc9e81341c1debb1baf71b101 (patch) | |
tree | 3113f6aa9fea0870931c039151e8a8d54e6cd151 /test | |
parent | disable all /bin/dpkg* programs in disable-common.inc (diff) | |
download | firejail-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-x | test/fs/kmsg.exp | 1 |
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 | |||
17 | send -- "cat /dev/kmsg\r" | 17 | send -- "cat /dev/kmsg\r" |
18 | expect { | 18 | expect { |
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 | } |
22 | after 100 | 23 | after 100 |