From 051e84a0068a503a4531712ab7f882240b003b15 Mon Sep 17 00:00:00 2001 From: netblue30 Date: Thu, 28 Apr 2016 20:47:36 -0400 Subject: removed pwd from test/utils --- test/utils/shutdown.exp | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'test/utils/shutdown.exp') diff --git a/test/utils/shutdown.exp b/test/utils/shutdown.exp index ca321b3c9..15a9a62c8 100755 --- a/test/utils/shutdown.exp +++ b/test/utils/shutdown.exp @@ -13,22 +13,23 @@ expect { timeout {puts "TESTING ERROR 0\n";exit} "Child process initialized" } -sleep 3 +sleep 2 spawn $env(SHELL) -send -- "firejail --shutdown=shutdowntesting;pwd\r" +send -- "firejail --shutdown=shutdowntesting; echo done\r" expect { timeout {puts "TESTING ERROR 4\n";exit} - "home" + "done" } -sleep 1 +sleep 5 -send -- "firejail --list;pwd\r" +spawn $env(SHELL) +send -- "firejail --list;echo done\r" expect { timeout {puts "TESTING ERROR 5\n";exit} "shutdowntesting" {puts "TESTING ERROR 6\n";exit} - "home" + "done" } sleep 1 -puts "\nalldone\n" +puts "\nall done\n" -- cgit v1.2.3-54-g00ecf