aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2015-12-07 09:29:41 -0500
committerLibravatar netblue30 <netblue30@yahoo.com>2015-12-07 09:29:41 -0500
commit9e211b82d63aca390df3cf09350b6d881825a573 (patch)
treeb11c3c235b376a32b1ef4746a38275bcc190043e /test
parentMerge pull request #187 from rahiel/master (diff)
downloadfirejail-9e211b82d63aca390df3cf09350b6d881825a573.tar.gz
firejail-9e211b82d63aca390df3cf09350b6d881825a573.tar.zst
firejail-9e211b82d63aca390df3cf09350b6d881825a573.zip
testing
Diffstat (limited to 'test')
-rwxr-xr-xtest/test-profiles.sh10
-rwxr-xr-xtest/test.sh8
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
3echo "TESTING: default profiles installed in /etc"
4PROFILES=`ls /etc/firejail/*.profile`
5for PROFILE in $PROFILES
6do
7 echo "TESTING: $PROFILE"
8 ./test-profile.exp $PROFILE
9done
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
5echo "TESTING: default profiles installed in /etc" 5./test-profiles.sh
6PROFILES=`ls /etc/firejail/*.profile`
7for PROFILE in $PROFILES
8do
9 echo "TESTING: $PROFILE"
10 ./test-profile.exp $PROFILE
11done
12 6
13./fscheck.sh 7./fscheck.sh
14 8