diff options
Diffstat (limited to 'test/profiles/all-profiles.sh')
-rwxr-xr-x | test/profiles/all-profiles.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/profiles/all-profiles.sh b/test/profiles/all-profiles.sh index cc17b6b00..a550afe23 100755 --- a/test/profiles/all-profiles.sh +++ b/test/profiles/all-profiles.sh | |||
@@ -37,11 +37,11 @@ echo "TESTING: profile read-only links (test/profiles/profile_readonly.exp)" | |||
37 | echo "TESTING: profile no permissions (test/profiles/profile_noperm.exp)" | 37 | echo "TESTING: profile no permissions (test/profiles/profile_noperm.exp)" |
38 | ./profile_noperm.exp | 38 | ./profile_noperm.exp |
39 | 39 | ||
40 | PROFILES=`ls /etc/firejail/*.profile` | 40 | profiles=( /etc/firejail/*.profile ) |
41 | echo "TESTING: default profiles installed in /etc" | 41 | echo "TESTING: default profiles installed in /etc" |
42 | 42 | ||
43 | for PROFILE in $PROFILES | 43 | for profile in "${profiles[@]}" |
44 | do | 44 | do |
45 | echo "TESTING: $PROFILE" | 45 | echo "TESTING: $profile" |
46 | ./test-profile.exp $PROFILE | 46 | ./test-profile.exp "$profile" |
47 | done | 47 | done |