aboutsummaryrefslogtreecommitdiffstats
path: root/test/fnetfilter/fnetfilter.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/fnetfilter/fnetfilter.sh')
-rwxr-xr-xtest/fnetfilter/fnetfilter.sh28
1 files changed, 28 insertions, 0 deletions
diff --git a/test/fnetfilter/fnetfilter.sh b/test/fnetfilter/fnetfilter.sh
new file mode 100755
index 000000000..5fd08d186
--- /dev/null
+++ b/test/fnetfilter/fnetfilter.sh
@@ -0,0 +1,28 @@
1#!/bin/bash
2# This file is part of Firejail project
3# Copyright (C) 2014-2017 Firejail Authors
4# License GPL v2
5
6export MALLOC_CHECK_=3
7export MALLOC_PERTURB_=$(($RANDOM % 255 + 1))
8
9if [ -f /etc/debian_version ]; then
10 libdir=$(dirname "$(dpkg -L firejail | grep fcopy)")
11 export PATH="$PATH:$libdir"
12fi
13
14export PATH="$PATH:/usr/lib/firejail"
15
16echo "TESTING: fnetfilter cmdline (test/fnetfilter/cmdline.exp)"
17./cmdline.exp
18
19echo "TESTING: fnetfilter default (test/fnetfilter/default.exp)"
20./default.exp
21
22echo "TESTING: fnetfilter copy (test/fnetfilter/copy.exp)"
23./copy.exp
24
25echo "TESTING: fnetfilter template (test/fnetfilter/template.exp)"
26./template.exp
27
28rm -f outfile