diff options
author | netblue30 <netblue30@yahoo.com> | 2016-04-28 20:47:36 -0400 |
---|---|---|
committer | netblue30 <netblue30@yahoo.com> | 2016-04-28 20:47:36 -0400 |
commit | 051e84a0068a503a4531712ab7f882240b003b15 (patch) | |
tree | 298329f7fa3804aaa97ffe44c8cfcbbece187b30 /test/utils/shutdown.exp | |
parent | Merge pull request #488 from reinerh/master (diff) | |
download | firejail-051e84a0068a503a4531712ab7f882240b003b15.tar.gz firejail-051e84a0068a503a4531712ab7f882240b003b15.tar.zst firejail-051e84a0068a503a4531712ab7f882240b003b15.zip |
removed pwd from test/utils
Diffstat (limited to 'test/utils/shutdown.exp')
-rwxr-xr-x | test/utils/shutdown.exp | 15 |
1 files changed, 8 insertions, 7 deletions
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 { | |||
13 | timeout {puts "TESTING ERROR 0\n";exit} | 13 | timeout {puts "TESTING ERROR 0\n";exit} |
14 | "Child process initialized" | 14 | "Child process initialized" |
15 | } | 15 | } |
16 | sleep 3 | 16 | sleep 2 |
17 | 17 | ||
18 | spawn $env(SHELL) | 18 | spawn $env(SHELL) |
19 | send -- "firejail --shutdown=shutdowntesting;pwd\r" | 19 | send -- "firejail --shutdown=shutdowntesting; echo done\r" |
20 | expect { | 20 | expect { |
21 | timeout {puts "TESTING ERROR 4\n";exit} | 21 | timeout {puts "TESTING ERROR 4\n";exit} |
22 | "home" | 22 | "done" |
23 | } | 23 | } |
24 | sleep 1 | 24 | sleep 5 |
25 | 25 | ||
26 | send -- "firejail --list;pwd\r" | 26 | spawn $env(SHELL) |
27 | send -- "firejail --list;echo done\r" | ||
27 | expect { | 28 | expect { |
28 | timeout {puts "TESTING ERROR 5\n";exit} | 29 | timeout {puts "TESTING ERROR 5\n";exit} |
29 | "shutdowntesting" {puts "TESTING ERROR 6\n";exit} | 30 | "shutdowntesting" {puts "TESTING ERROR 6\n";exit} |
30 | "home" | 31 | "done" |
31 | } | 32 | } |
32 | sleep 1 | 33 | sleep 1 |
33 | 34 | ||
34 | puts "\nalldone\n" | 35 | puts "\nall done\n" |