aboutsummaryrefslogtreecommitdiffstats
path: root/test/chroot-resolvconf.exp
blob: 2d0da2fb03fb52fc8d67f86c60a87de101e89fc8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/expect -f

set timeout 10
spawn $env(SHELL)
match_max 100000

send -- "firejail --chroot=/tmp/chroot /bin/bash\r"
expect {
	timeout {puts "TESTING ERROR 0\n";exit}
	"invalid /tmp/chroot/etc/resolv.conf file"
}

puts "\nall done\n"