fscheck-bindnoroot.exp 223 Bytes
Newer Older
netblue30's avatar
netblue30 committed
1 2 3 4 5 6 7
#!/usr/bin/expect -f

set timeout 10
spawn $env(SHELL)
match_max 100000

# dir
netblue30's avatar
netblue30 committed
8
send -- "firejail --net=br0 --bind=testdir1,/etc\r"
netblue30's avatar
netblue30 committed
9 10 11 12 13 14
expect {
	timeout {puts "TESTING ERROR 0\n";exit}
	"Error"
}
after 100

netblue30's avatar
netblue30 committed
15
puts "\nall done\n"