diff options
Diffstat (limited to 'test/filters/filters.sh')
-rwxr-xr-x | test/filters/filters.sh | 7 |
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 @@ | |||
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 fseccomp)") | ||
11 | export PATH="$PATH:$libdir" | ||
12 | else | ||
13 | export PATH="$PATH:/usr/lib/firejail" | ||
14 | fi | ||
15 | |||
9 | echo "TESTING: debug options (test/filters/debug.exp)" | 16 | echo "TESTING: debug options (test/filters/debug.exp)" |
10 | ./debug.exp | 17 | ./debug.exp |
11 | 18 | ||