diff options
author | netblue30 <netblue30@yahoo.com> | 2015-10-18 11:07:49 -0400 |
---|---|---|
committer | netblue30 <netblue30@yahoo.com> | 2015-10-18 11:07:49 -0400 |
commit | 6d39f22968c7cf2a51cb162664589770c84aac69 (patch) | |
tree | 8a717a0324b43a8134182ceeee6455b59535b465 /test/quiet.exp | |
parent | --hostname (diff) | |
download | firejail-6d39f22968c7cf2a51cb162664589770c84aac69.tar.gz firejail-6d39f22968c7cf2a51cb162664589770c84aac69.tar.zst firejail-6d39f22968c7cf2a51cb162664589770c84aac69.zip |
testing
Diffstat (limited to 'test/quiet.exp')
-rwxr-xr-x | test/quiet.exp | 17 |
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 | |||
3 | set timeout 4 | ||
4 | spawn $env(SHELL) | ||
5 | match_max 100000 | ||
6 | |||
7 | # check ip address | ||
8 | send -- "firejail --net=br0 --quiet\r" | ||
9 | expect { | ||
10 | "Child process initialized" {puts "TESTING ERROR 1\n";exit} | ||
11 | "Interface" {puts "TESTING ERROR 1\n";exit} | ||
12 | } | ||
13 | sleep 1 | ||
14 | send -- "\r" | ||
15 | |||
16 | puts "\nall done\n" | ||
17 | |||