aboutsummaryrefslogtreecommitdiffstats
path: root/test/profile_noperm.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/profile_noperm.exp')
-rwxr-xr-xtest/profile_noperm.exp13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/profile_noperm.exp b/test/profile_noperm.exp
new file mode 100755
index 000000000..b3ed558bc
--- /dev/null
+++ b/test/profile_noperm.exp
@@ -0,0 +1,13 @@
1#!/usr/bin/expect -f
2
3set timeout 10
4spawn $env(SHELL)
5match_max 100000
6
7send -- "firejail --profile=/etc/shadow\r"
8expect {
9 timeout {puts "TESTING ERROR 0\n";exit}
10 "cannot access profile"
11}
12sleep 1
13puts "\n"