summaryrefslogtreecommitdiffstats
path: root/test/fcopy/fcopy.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/fcopy/fcopy.sh')
-rwxr-xr-xtest/fcopy/fcopy.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/fcopy/fcopy.sh b/test/fcopy/fcopy.sh
index 0ae50399a..d122eff5d 100755
--- a/test/fcopy/fcopy.sh
+++ b/test/fcopy/fcopy.sh
@@ -6,6 +6,13 @@
6export MALLOC_CHECK_=3 6export MALLOC_CHECK_=3
7export MALLOC_PERTURB_=$(($RANDOM % 255 + 1)) 7export MALLOC_PERTURB_=$(($RANDOM % 255 + 1))
8 8
9if [ -f /etc/debian_version ]; then
10 libdir=$(dirname "$(dpkg -L firejail | grep fcopy)")
11 export PATH="$PATH:$libdir"
12else
13 export PATH="$PATH:/usr/lib/firejail"
14fi
15
9mkdir dest 16mkdir dest
10 17
11echo "TESTING: fcopy cmdline (test/fcopy/cmdline.exp)" 18echo "TESTING: fcopy cmdline (test/fcopy/cmdline.exp)"