aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtest/fcopy/fcopy.sh4
-rwxr-xr-xtest/fs/whitelist-downloads.exp4
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))
9if [ -f /etc/debian_version ]; then 9if [ -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"
12else
13 export PATH="$PATH:/usr/lib/firejail"
14fi 12fi
15 13
14export PATH="$PATH:/usr/lib/firejail"
15
16mkdir dest 16mkdir dest
17 17
18echo "TESTING: fcopy cmdline (test/fcopy/cmdline.exp)" 18echo "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}
18after 100 18after 100
19 19
20send -- "firejail --force --profile=/etc/firejail/firefox.profile\r" 20send -- "firejail --force --ignore=shell --profile=/etc/firejail/firefox.profile\r"
21expect { 21expect {
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
34send -- "cp /tmp/user-dirs.dirs ~/.config/.\r" 34send -- "cp /tmp/user-dirs.dirs ~/.config/.\r"
35after 100 35after 100
36 36
37send -- "firejail --force --profile=/etc/firejail/firefox.profile\r" 37send -- "firejail --force --ignore=shell --profile=/etc/firejail/firefox.profile\r"
38expect { 38expect {
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"