summaryrefslogtreecommitdiffstats
path: root/test/profiles/profiles.sh
blob: ea1f51c1aeb3ea6886868bf0aa0e993da7a67a4e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash
# This file is part of Firejail project
# Copyright (C) 2014-2016 Firejail Authors
# License GPL v2

echo "TESTING: default profiles installed in /etc"
PROFILES=`ls /etc/firejail/*.profile`
for PROFILE in $PROFILES
do
	echo "TESTING: $PROFILE"
	./test-profile.exp $PROFILE
done

echo "TESTING: profile syntax (profiles/profile_syntax.exp)"
./profile_syntax.exp

echo "TESTING: profile syntax 2 (profiles/profile_syntax2.exp)"
./profile_syntax2.exp