From 37a5a3545ef6d8d03dad8bbd888f53e13274c9e5 Mon Sep 17 00:00:00 2001 From: netblue30 Date: Thu, 5 May 2016 10:22:18 -0400 Subject: testing --- test/fs/option_bind_user.exp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 test/fs/option_bind_user.exp (limited to 'test/fs/option_bind_user.exp') diff --git a/test/fs/option_bind_user.exp b/test/fs/option_bind_user.exp new file mode 100755 index 000000000..9d2d17d7f --- /dev/null +++ b/test/fs/option_bind_user.exp @@ -0,0 +1,15 @@ +#!/usr/bin/expect -f + +set timeout 10 +spawn $env(SHELL) +match_max 100000 + +send -- "firejail --bind=/tmp/chroot,mntpoint\r" +expect { + timeout {puts "TESTING ERROR 0\n";exit} + "bind option is available only if running as root" +} +sleep 1 + +puts "\n" + -- cgit v1.2.3-54-g00ecf