diff options
author | netblue30 <netblue30@yahoo.com> | 2016-04-30 07:31:21 -0400 |
---|---|---|
committer | netblue30 <netblue30@yahoo.com> | 2016-04-30 07:31:21 -0400 |
commit | ea774178f6d8f613c96c0d001fed200155b704b7 (patch) | |
tree | ee2de7fcce0499dcb21cf475a068fe8957ab07bb /test/filters/filters.sh | |
parent | added make test-filters (diff) | |
download | firejail-ea774178f6d8f613c96c0d001fed200155b704b7.tar.gz firejail-ea774178f6d8f613c96c0d001fed200155b704b7.tar.zst firejail-ea774178f6d8f613c96c0d001fed200155b704b7.zip |
added make test-filters
Diffstat (limited to 'test/filters/filters.sh')
-rwxr-xr-x | test/filters/filters.sh | 48 |
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 | |||
6 | export MALLOC_CHECK_=3 | ||
7 | export MALLOC_PERTURB_=$(($RANDOM % 255 + 1)) | ||
8 | |||
9 | echo "TESTING: noroot (test/filters/noroot.exp)" | ||
10 | ./noroot.exp | ||
11 | |||
12 | echo "TESTING: capabilities (test/filters/caps.exp)" | ||
13 | ./caps.exp | ||
14 | |||
15 | echo "TESTING: protocol (test/filters/protocol.exp)" | ||
16 | ./protocol.exp | ||
17 | |||
18 | echo "TESTING: seccomp bad empty (test/filters/seccomp-bad-empty.exp)" | ||
19 | ./seccomp-bad-empty.exp | ||
20 | |||
21 | echo "TESTING: seccomp debug (test/filters/seccomp-debug.exp)" | ||
22 | ./seccomp-debug.exp | ||
23 | |||
24 | echo "TESTING: seccomp errno (test/filters/seccomp-errno.exp)" | ||
25 | ./seccomp-errno.exp | ||
26 | |||
27 | echo "TESTING: seccomp su (test/filters/seccomp-su.exp)" | ||
28 | ./seccomp-su.exp | ||
29 | |||
30 | echo "TESTING: seccomp ptrace (seccomp-ptrace.exp)" | ||
31 | ./seccomp-ptrace.exp | ||
32 | |||
33 | echo "TESTING: seccomp chmod - seccomp lists (test/filters/seccomp-chmod.exp)" | ||
34 | ./seccomp-chmod.exp | ||
35 | |||
36 | echo "TESTING: seccomp chmod profile - seccomp lists (test/filters/seccomp-chmod-profile.exp)" | ||
37 | ./seccomp-chmod-profile.exp | ||
38 | |||
39 | echo "TESTING: seccomp empty (test/filters/seccomp-empty.exp)" | ||
40 | ./seccomp-empty.exp | ||
41 | |||
42 | echo "TESTING: seccomp bad empty (test/filters/seccomp-bad-empty.exp)" | ||
43 | ./seccomp-bad-empty.exp | ||
44 | |||
45 | echo "TESTING: seccomp dual filter (test/filters/seccomp-dualfilter.exp)" | ||
46 | ./seccomp-dualfilter.exp | ||
47 | |||
48 | |||