diff options
Diffstat (limited to 'test/profile_noperm.exp')
-rwxr-xr-x | test/profile_noperm.exp | 13 |
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 | |||
3 | set timeout 10 | ||
4 | spawn $env(SHELL) | ||
5 | match_max 100000 | ||
6 | |||
7 | send -- "firejail --profile=/etc/shadow\r" | ||
8 | expect { | ||
9 | timeout {puts "TESTING ERROR 0\n";exit} | ||
10 | "cannot access profile" | ||
11 | } | ||
12 | sleep 1 | ||
13 | puts "\n" | ||