From 1789b45bfe4b6f343448524867c6c497cc9e39b3 Mon Sep 17 00:00:00 2001 From: netblue30 Date: Mon, 17 Apr 2017 14:41:18 -0400 Subject: testing --- test/fcopy/fcopy.sh | 4 ++-- 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)) if [ -f /etc/debian_version ]; then libdir=$(dirname "$(dpkg -L firejail | grep fcopy)") export PATH="$PATH:$libdir" -else - export PATH="$PATH:/usr/lib/firejail" fi +export PATH="$PATH:/usr/lib/firejail" + mkdir dest 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 { } after 100 -send -- "firejail --force --profile=/etc/firejail/firefox.profile\r" +send -- "firejail --force --ignore=shell --profile=/etc/firejail/firefox.profile\r" expect { timeout {puts "TESTING ERROR 1\n";exit} "cannot whitelist Downloads directory" @@ -34,7 +34,7 @@ after 100 send -- "cp /tmp/user-dirs.dirs ~/.config/.\r" after 100 -send -- "firejail --force --profile=/etc/firejail/firefox.profile\r" +send -- "firejail --force --ignore=shell --profile=/etc/firejail/firefox.profile\r" expect { timeout {puts "TESTING ERROR 3\n";exit} "cannot whitelist Downloads directory" -- cgit v1.2.3-54-g00ecf