aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLibravatar Reiner Herrmann <reiner@reiner-h.de>2020-08-14 10:54:57 +0200
committerLibravatar Reiner Herrmann <reiner@reiner-h.de>2020-08-14 10:54:59 +0200
commit7373a5bb938cd06c8d040c4412d6bf1940f5af38 (patch)
treed5800591f4bd5e9841e77e6cb6629a36cb4f65f2 /test
parentMerge pull request #3583 from kortewegdevries/fixnomacs (diff)
downloadfirejail-7373a5bb938cd06c8d040c4412d6bf1940f5af38.tar.gz
firejail-7373a5bb938cd06c8d040c4412d6bf1940f5af38.tar.zst
firejail-7373a5bb938cd06c8d040c4412d6bf1940f5af38.zip
tests: fix false-positive match on modules
The systemd service file ./systemd/system/sysinit.target.wants/systemd-modules-load.service can exist which will lead to a match for "modules", though we are only looking for the modules directory.
Diffstat (limited to 'test')
-rwxr-xr-xtest/fs/private-lib.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/fs/private-lib.exp b/test/fs/private-lib.exp
index ed04de1f9..3d7e68097 100755
--- a/test/fs/private-lib.exp
+++ b/test/fs/private-lib.exp
@@ -30,8 +30,8 @@ after 100
30send -- "cd /lib; find .\r" 30send -- "cd /lib; find .\r"
31expect { 31expect {
32 timeout {puts "TESTING ERROR 5\n";exit} 32 timeout {puts "TESTING ERROR 5\n";exit}
33 "modules" {puts "TESTING ERROR 6\n";exit} 33 "/modules" {puts "TESTING ERROR 6\n";exit}
34 "firmware" {puts "TESTING ERROR 7\n";exit} 34 "/firmware" {puts "TESTING ERROR 7\n";exit}
35 "libc.so" 35 "libc.so"
36} 36}
37after 100 37after 100