summaryrefslogtreecommitdiffstats
path: root/test/profiles/profiles.sh
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2016-04-21 14:37:53 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2016-04-21 14:37:53 -0400
commitad2f7bc496e3cc83bca2381515312dd2ef6fc7f1 (patch)
tree0a923afb486b1f13ab35d26138cdbf51e0961aec /test/profiles/profiles.sh
parent--read-write option (diff)
downloadfirejail-ad2f7bc496e3cc83bca2381515312dd2ef6fc7f1.tar.gz
firejail-ad2f7bc496e3cc83bca2381515312dd2ef6fc7f1.tar.zst
firejail-ad2f7bc496e3cc83bca2381515312dd2ef6fc7f1.zip
make test-profiles
Diffstat (limited to 'test/profiles/profiles.sh')
-rwxr-xr-xtest/profiles/profiles.sh19
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
6echo "TESTING: default profiles installed in /etc"
7PROFILES=`ls /etc/firejail/*.profile`
8for PROFILE in $PROFILES
9do
10 echo "TESTING: $PROFILE"
11 ./test-profile.exp $PROFILE
12done
13
14echo "TESTING: profile syntax (profiles/profile_syntax.exp)"
15./profile_syntax.exp
16
17echo "TESTING: profile syntax 2 (profiles/profile_syntax2.exp)"
18./profile_syntax2.exp
19