aboutsummaryrefslogtreecommitdiffstats
path: root/test/quiet.exp
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2015-10-18 11:07:49 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2015-10-18 11:07:49 -0400
commit6d39f22968c7cf2a51cb162664589770c84aac69 (patch)
tree8a717a0324b43a8134182ceeee6455b59535b465 /test/quiet.exp
parent--hostname (diff)
downloadfirejail-6d39f22968c7cf2a51cb162664589770c84aac69.tar.gz
firejail-6d39f22968c7cf2a51cb162664589770c84aac69.tar.zst
firejail-6d39f22968c7cf2a51cb162664589770c84aac69.zip
testing
Diffstat (limited to 'test/quiet.exp')
-rwxr-xr-xtest/quiet.exp17
1 files changed, 17 insertions, 0 deletions
diff --git a/test/quiet.exp b/test/quiet.exp
new file mode 100755
index 000000000..fa46aebf2
--- /dev/null
+++ b/test/quiet.exp
@@ -0,0 +1,17 @@
1#!/usr/bin/expect -f
2
3set timeout 4
4spawn $env(SHELL)
5match_max 100000
6
7# check ip address
8send -- "firejail --net=br0 --quiet\r"
9expect {
10 "Child process initialized" {puts "TESTING ERROR 1\n";exit}
11 "Interface" {puts "TESTING ERROR 1\n";exit}
12}
13sleep 1
14send -- "\r"
15
16puts "\nall done\n"
17