diff options
Diffstat (limited to 'test')
-rwxr-xr-x | test/test-profiles.sh | 10 | ||||
-rwxr-xr-x | test/test.sh | 8 |
2 files changed, 11 insertions, 7 deletions
diff --git a/test/test-profiles.sh b/test/test-profiles.sh new file mode 100755 index 000000000..d9142885b --- /dev/null +++ b/test/test-profiles.sh | |||
@@ -0,0 +1,10 @@ | |||
1 | #!/bin/bash | ||
2 | |||
3 | echo "TESTING: default profiles installed in /etc" | ||
4 | PROFILES=`ls /etc/firejail/*.profile` | ||
5 | for PROFILE in $PROFILES | ||
6 | do | ||
7 | echo "TESTING: $PROFILE" | ||
8 | ./test-profile.exp $PROFILE | ||
9 | done | ||
10 | |||
diff --git a/test/test.sh b/test/test.sh index 8668d068f..86ae874d9 100755 --- a/test/test.sh +++ b/test/test.sh | |||
@@ -2,13 +2,7 @@ | |||
2 | 2 | ||
3 | ./chk_config.exp | 3 | ./chk_config.exp |
4 | 4 | ||
5 | echo "TESTING: default profiles installed in /etc" | 5 | ./test-profiles.sh |
6 | PROFILES=`ls /etc/firejail/*.profile` | ||
7 | for PROFILE in $PROFILES | ||
8 | do | ||
9 | echo "TESTING: $PROFILE" | ||
10 | ./test-profile.exp $PROFILE | ||
11 | done | ||
12 | 6 | ||
13 | ./fscheck.sh | 7 | ./fscheck.sh |
14 | 8 | ||