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
This commit is contained in:
Kelvin M. Klann 2023-08-21 10:00:47 -03:00
parent f37cd57cd2
commit 75cefd5b16

View file

@ -17,6 +17,7 @@ sleep 1
send -- "cat /dev/kmsg\r"
expect {
timeout {puts "TESTING ERROR 2\n";exit}
"No such file or directory" # FIXME: Needed in CI
"Permission denied"
}
after 100