diff options
author | Reiner Herrmann <reiner@reiner-h.de> | 2020-08-14 11:17:19 +0200 |
---|---|---|
committer | Reiner Herrmann <reiner@reiner-h.de> | 2020-08-14 11:20:41 +0200 |
commit | 51ba949ab59010d9229bc049bab57c6fc7414b62 (patch) | |
tree | e9e1c61dc017b8620060c7e5a5b45e2ffe0a7de9 | |
parent | tests: fix rlimit test for 32bit archs (diff) | |
download | firejail-51ba949ab59010d9229bc049bab57c6fc7414b62.tar.gz firejail-51ba949ab59010d9229bc049bab57c6fc7414b62.tar.zst firejail-51ba949ab59010d9229bc049bab57c6fc7414b62.zip |
tests: fix check for modules directory
'modules' can also be seen as a sub-directory, e.g.
./powerpc64le-linux-gnu/gio/modules/libgiolibproxy.so
(cherry picked from commit 78e8d3834a6bab67dcfb9fd8998ee81f64c797f9)
-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 129fa5b98..21093e119 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 |