aboutsummaryrefslogtreecommitdiffstats
path: root/test/filters/filters.sh
diff options
context:
space:
mode:
authorLibravatar Reiner Herrmann <reiner@reiner-h.de>2017-04-16 21:11:10 +0200
committerLibravatar Reiner Herrmann <reiner@reiner-h.de>2017-04-16 21:16:15 +0200
commitd600a293a7f33397243c449d895168a4d4a9376d (patch)
treef508eea04da0fb5c5eb4ba8f3670b556c9adf8fb /test/filters/filters.sh
parenttest: argtest no longer available (diff)
downloadfirejail-d600a293a7f33397243c449d895168a4d4a9376d.tar.gz
firejail-d600a293a7f33397243c449d895168a4d4a9376d.tar.zst
firejail-d600a293a7f33397243c449d895168a4d4a9376d.zip
test: make tests independent of libdir
Diffstat (limited to 'test/filters/filters.sh')
-rwxr-xr-xtest/filters/filters.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/filters/filters.sh b/test/filters/filters.sh
index 4996e6d66..59d7d7e7f 100755
--- a/test/filters/filters.sh
+++ b/test/filters/filters.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 fseccomp)")
11 export PATH="$PATH:$libdir"
12else
13 export PATH="$PATH:/usr/lib/firejail"
14fi
15
9echo "TESTING: debug options (test/filters/debug.exp)" 16echo "TESTING: debug options (test/filters/debug.exp)"
10./debug.exp 17./debug.exp
11 18