aboutsummaryrefslogtreecommitdiffstats
path: root/test/fs/fs.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/fs/fs.sh')
-rwxr-xr-xtest/fs/fs.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/fs/fs.sh b/test/fs/fs.sh
index b49e447b7..36ff30934 100755
--- a/test/fs/fs.sh
+++ b/test/fs/fs.sh
@@ -46,8 +46,12 @@ echo "TESTING: read/write /var/tmp (test/fs/fs_var_tmp.exp)"
46rm -f /var/tmp/_firejail_test_file 46rm -f /var/tmp/_firejail_test_file
47 47
48if [ "$(uname -m)" = "x86_64" ]; then 48if [ "$(uname -m)" = "x86_64" ]; then
49 fjconfig=/etc/firejail/firejail.config
50 printf 'private-lib yes\n' | sudo tee -a "$fjconfig" >/dev/null
49 echo "TESTING: private-lib (test/fs/private-lib.exp)" 51 echo "TESTING: private-lib (test/fs/private-lib.exp)"
50 ./private-lib.exp 52 ./private-lib.exp
53 printf '%s\n' "$(sed '/^private-lib yes$/d' "$fjconfig")" |
54 sudo tee "$fjconfig" >/dev/null
51else 55else
52 echo "TESTING SKIP: private-lib test implemented only for x86_64." 56 echo "TESTING SKIP: private-lib test implemented only for x86_64."
53fi 57fi