diff options
author | Reiner Herrmann <reiner@reiner-h.de> | 2020-08-14 10:54:57 +0200 |
---|---|---|
committer | Reiner Herrmann <reiner@reiner-h.de> | 2020-08-14 10:54:59 +0200 |
commit | 7373a5bb938cd06c8d040c4412d6bf1940f5af38 (patch) | |
tree | d5800591f4bd5e9841e77e6cb6629a36cb4f65f2 | |
parent | Merge pull request #3583 from kortewegdevries/fixnomacs (diff) | |
download | firejail-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.
-rwxr-xr-x | test/fs/private-lib.exp | 4 |
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 | |||
30 | send -- "cd /lib; find .\r" | 30 | send -- "cd /lib; find .\r" |
31 | expect { | 31 | expect { |
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 | } |
37 | after 100 | 37 | after 100 |