diff options
Diffstat (limited to 'test/profiles/profiles.sh')
-rwxr-xr-x | test/profiles/profiles.sh | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/test/profiles/profiles.sh b/test/profiles/profiles.sh index 7c3549aea..a3d24ac0c 100755 --- a/test/profiles/profiles.sh +++ b/test/profiles/profiles.sh | |||
@@ -6,6 +6,33 @@ | |||
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 | echo "TESTING: profile recursivity (test/profiles/profile_recursivity.exp)" | ||
10 | ./profile_recursivity.exp | ||
11 | |||
12 | echo "TESTING: profile application name (test/profiles/profile_appname.exp)" | ||
13 | ./profile_appname.exp | ||
14 | |||
15 | echo "TESTING: profile syntax (test/profiles/profile_syntax.exp)" | ||
16 | ./profile_syntax.exp | ||
17 | |||
18 | echo "TESTING: profile syntax 2 (test/profiles/profile_syntax2.exp)" | ||
19 | ./profile_syntax2.exp | ||
20 | |||
21 | echo "TESTING: ignore command (test/profiles/ignore.exp)" | ||
22 | ./ignore.exp | ||
23 | |||
24 | echo "TESTING: profile read-only (test/profiles/profile_readonly.exp)" | ||
25 | ./profile_readonly.exp | ||
26 | |||
27 | echo "TESTING: profile read-only links (test/profiles/profile_readonly.exp)" | ||
28 | ./profile_followlnk.exp | ||
29 | |||
30 | echo "TESTING: profile no permissions (test/profiles/profile_noperm.exp)" | ||
31 | ./profile_noperm.exp | ||
32 | |||
33 | |||
34 | |||
35 | |||
9 | echo "TESTING: default profiles installed in /etc" | 36 | echo "TESTING: default profiles installed in /etc" |
10 | PROFILES=`ls /etc/firejail/*.profile` | 37 | PROFILES=`ls /etc/firejail/*.profile` |
11 | for PROFILE in $PROFILES | 38 | for PROFILE in $PROFILES |