From 6d39f22968c7cf2a51cb162664589770c84aac69 Mon Sep 17 00:00:00 2001 From: netblue30 Date: Sun, 18 Oct 2015 11:07:49 -0400 Subject: testing --- test/quiet.exp | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 test/quiet.exp (limited to 'test/quiet.exp') 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 @@ +#!/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" + -- cgit v1.2.3-70-g09d2