aboutsummaryrefslogtreecommitdiffstats
path: root/test/filters/filters.sh
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2016-04-30 07:31:21 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2016-04-30 07:31:21 -0400
commitea774178f6d8f613c96c0d001fed200155b704b7 (patch)
treeee2de7fcce0499dcb21cf475a068fe8957ab07bb /test/filters/filters.sh
parentadded make test-filters (diff)
downloadfirejail-ea774178f6d8f613c96c0d001fed200155b704b7.tar.gz
firejail-ea774178f6d8f613c96c0d001fed200155b704b7.tar.zst
firejail-ea774178f6d8f613c96c0d001fed200155b704b7.zip
added make test-filters
Diffstat (limited to 'test/filters/filters.sh')
-rwxr-xr-xtest/filters/filters.sh48
1 files changed, 48 insertions, 0 deletions
diff --git a/test/filters/filters.sh b/test/filters/filters.sh
new file mode 100755
index 000000000..c21243a0f
--- /dev/null
+++ b/test/filters/filters.sh
@@ -0,0 +1,48 @@
1#!/bin/bash
2# This file is part of Firejail project
3# Copyright (C) 2014-2016 Firejail Authors
4# License GPL v2
5
6export MALLOC_CHECK_=3
7export MALLOC_PERTURB_=$(($RANDOM % 255 + 1))
8
9echo "TESTING: noroot (test/filters/noroot.exp)"
10./noroot.exp
11
12echo "TESTING: capabilities (test/filters/caps.exp)"
13./caps.exp
14
15echo "TESTING: protocol (test/filters/protocol.exp)"
16./protocol.exp
17
18echo "TESTING: seccomp bad empty (test/filters/seccomp-bad-empty.exp)"
19./seccomp-bad-empty.exp
20
21echo "TESTING: seccomp debug (test/filters/seccomp-debug.exp)"
22./seccomp-debug.exp
23
24echo "TESTING: seccomp errno (test/filters/seccomp-errno.exp)"
25./seccomp-errno.exp
26
27echo "TESTING: seccomp su (test/filters/seccomp-su.exp)"
28./seccomp-su.exp
29
30echo "TESTING: seccomp ptrace (seccomp-ptrace.exp)"
31./seccomp-ptrace.exp
32
33echo "TESTING: seccomp chmod - seccomp lists (test/filters/seccomp-chmod.exp)"
34./seccomp-chmod.exp
35
36echo "TESTING: seccomp chmod profile - seccomp lists (test/filters/seccomp-chmod-profile.exp)"
37./seccomp-chmod-profile.exp
38
39echo "TESTING: seccomp empty (test/filters/seccomp-empty.exp)"
40./seccomp-empty.exp
41
42echo "TESTING: seccomp bad empty (test/filters/seccomp-bad-empty.exp)"
43./seccomp-bad-empty.exp
44
45echo "TESTING: seccomp dual filter (test/filters/seccomp-dualfilter.exp)"
46./seccomp-dualfilter.exp
47
48