diff options
-rwxr-xr-x | test/fs/fs.sh | 4 |
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)" | |||
46 | rm -f /var/tmp/_firejail_test_file | 46 | rm -f /var/tmp/_firejail_test_file |
47 | 47 | ||
48 | if [ "$(uname -m)" = "x86_64" ]; then | 48 | if [ "$(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 | ||
51 | else | 55 | else |
52 | echo "TESTING SKIP: private-lib test implemented only for x86_64." | 56 | echo "TESTING SKIP: private-lib test implemented only for x86_64." |
53 | fi | 57 | fi |