diff options
author | netblue30 <netblue30@yahoo.com> | 2016-04-21 14:37:53 -0400 |
---|---|---|
committer | netblue30 <netblue30@yahoo.com> | 2016-04-21 14:37:53 -0400 |
commit | ad2f7bc496e3cc83bca2381515312dd2ef6fc7f1 (patch) | |
tree | 0a923afb486b1f13ab35d26138cdbf51e0961aec /test/profiles/profiles.sh | |
parent | --read-write option (diff) | |
download | firejail-ad2f7bc496e3cc83bca2381515312dd2ef6fc7f1.tar.gz firejail-ad2f7bc496e3cc83bca2381515312dd2ef6fc7f1.tar.zst firejail-ad2f7bc496e3cc83bca2381515312dd2ef6fc7f1.zip |
make test-profiles
Diffstat (limited to 'test/profiles/profiles.sh')
-rwxr-xr-x | test/profiles/profiles.sh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/test/profiles/profiles.sh b/test/profiles/profiles.sh new file mode 100755 index 000000000..ea1f51c1a --- /dev/null +++ b/test/profiles/profiles.sh | |||
@@ -0,0 +1,19 @@ | |||
1 | #!/bin/bash | ||
2 | # This file is part of Firejail project | ||
3 | # Copyright (C) 2014-2016 Firejail Authors | ||
4 | # License GPL v2 | ||
5 | |||
6 | echo "TESTING: default profiles installed in /etc" | ||
7 | PROFILES=`ls /etc/firejail/*.profile` | ||
8 | for PROFILE in $PROFILES | ||
9 | do | ||
10 | echo "TESTING: $PROFILE" | ||
11 | ./test-profile.exp $PROFILE | ||
12 | done | ||
13 | |||
14 | echo "TESTING: profile syntax (profiles/profile_syntax.exp)" | ||
15 | ./profile_syntax.exp | ||
16 | |||
17 | echo "TESTING: profile syntax 2 (profiles/profile_syntax2.exp)" | ||
18 | ./profile_syntax2.exp | ||
19 | |||