diff options
-rwxr-xr-x | test/fcopy/fcopy.sh | 4 | ||||
-rwxr-xr-x | test/fs/whitelist-downloads.exp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/test/fcopy/fcopy.sh b/test/fcopy/fcopy.sh index d122eff5d..362ed66e0 100755 --- a/test/fcopy/fcopy.sh +++ b/test/fcopy/fcopy.sh | |||
@@ -9,10 +9,10 @@ export MALLOC_PERTURB_=$(($RANDOM % 255 + 1)) | |||
9 | if [ -f /etc/debian_version ]; then | 9 | if [ -f /etc/debian_version ]; then |
10 | libdir=$(dirname "$(dpkg -L firejail | grep fcopy)") | 10 | libdir=$(dirname "$(dpkg -L firejail | grep fcopy)") |
11 | export PATH="$PATH:$libdir" | 11 | export PATH="$PATH:$libdir" |
12 | else | ||
13 | export PATH="$PATH:/usr/lib/firejail" | ||
14 | fi | 12 | fi |
15 | 13 | ||
14 | export PATH="$PATH:/usr/lib/firejail" | ||
15 | |||
16 | mkdir dest | 16 | mkdir dest |
17 | 17 | ||
18 | echo "TESTING: fcopy cmdline (test/fcopy/cmdline.exp)" | 18 | echo "TESTING: fcopy cmdline (test/fcopy/cmdline.exp)" |
diff --git a/test/fs/whitelist-downloads.exp b/test/fs/whitelist-downloads.exp index f3eb0d6a2..a64197953 100755 --- a/test/fs/whitelist-downloads.exp +++ b/test/fs/whitelist-downloads.exp | |||
@@ -17,7 +17,7 @@ expect { | |||
17 | } | 17 | } |
18 | after 100 | 18 | after 100 |
19 | 19 | ||
20 | send -- "firejail --force --profile=/etc/firejail/firefox.profile\r" | 20 | send -- "firejail --force --ignore=shell --profile=/etc/firejail/firefox.profile\r" |
21 | expect { | 21 | expect { |
22 | timeout {puts "TESTING ERROR 1\n";exit} | 22 | timeout {puts "TESTING ERROR 1\n";exit} |
23 | "cannot whitelist Downloads directory" | 23 | "cannot whitelist Downloads directory" |
@@ -34,7 +34,7 @@ after 100 | |||
34 | send -- "cp /tmp/user-dirs.dirs ~/.config/.\r" | 34 | send -- "cp /tmp/user-dirs.dirs ~/.config/.\r" |
35 | after 100 | 35 | after 100 |
36 | 36 | ||
37 | send -- "firejail --force --profile=/etc/firejail/firefox.profile\r" | 37 | send -- "firejail --force --ignore=shell --profile=/etc/firejail/firefox.profile\r" |
38 | expect { | 38 | expect { |
39 | timeout {puts "TESTING ERROR 3\n";exit} | 39 | timeout {puts "TESTING ERROR 3\n";exit} |
40 | "cannot whitelist Downloads directory" | 40 | "cannot whitelist Downloads directory" |