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

set timeout 4
spawn $env(SHELL)
match_max 100000

# check ip address
send -- "firejail --net=br0 --quiet\r"
expect {
	"Child process initialized" {puts "TESTING ERROR 1\n";exit}
	"Interface" {puts "TESTING ERROR 1\n";exit}
}
sleep 1
send -- "\r"

puts "\nall done\n"