diff options
Diffstat (limited to 'test/fcopy/fcopy.sh')
-rwxr-xr-x | test/fcopy/fcopy.sh | 7 |
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 @@ | |||
6 | export MALLOC_CHECK_=3 | 6 | export MALLOC_CHECK_=3 |
7 | export MALLOC_PERTURB_=$(($RANDOM % 255 + 1)) | 7 | export MALLOC_PERTURB_=$(($RANDOM % 255 + 1)) |
8 | 8 | ||
9 | if [ -f /etc/debian_version ]; then | ||
10 | libdir=$(dirname "$(dpkg -L firejail | grep fcopy)") | ||
11 | export PATH="$PATH:$libdir" | ||
12 | else | ||
13 | export PATH="$PATH:/usr/lib/firejail" | ||
14 | fi | ||
15 | |||
9 | mkdir dest | 16 | mkdir dest |
10 | 17 | ||
11 | echo "TESTING: fcopy cmdline (test/fcopy/cmdline.exp)" | 18 | echo "TESTING: fcopy cmdline (test/fcopy/cmdline.exp)" |