aboutsummaryrefslogtreecommitdiffstats
path: root/test/option_bind_user.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/option_bind_user.exp')
-rwxr-xr-xtest/option_bind_user.exp15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/option_bind_user.exp b/test/option_bind_user.exp
new file mode 100755
index 000000000..9d2d17d7f
--- /dev/null
+++ b/test/option_bind_user.exp
@@ -0,0 +1,15 @@
1#!/usr/bin/expect -f
2
3set timeout 10
4spawn $env(SHELL)
5match_max 100000
6
7send -- "firejail --bind=/tmp/chroot,mntpoint\r"
8expect {
9 timeout {puts "TESTING ERROR 0\n";exit}
10 "bind option is available only if running as root"
11}
12sleep 1
13
14puts "\n"
15