aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Reiner Herrmann <reiner@reiner-h.de>2020-08-14 11:17:19 +0200
committerLibravatar Reiner Herrmann <reiner@reiner-h.de>2020-08-14 11:20:41 +0200
commit51ba949ab59010d9229bc049bab57c6fc7414b62 (patch)
treee9e1c61dc017b8620060c7e5a5b45e2ffe0a7de9
parenttests: fix rlimit test for 32bit archs (diff)
downloadfirejail-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-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 129fa5b98..21093e119 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