diff options
author | netblue30 <netblue30@yahoo.com> | 2016-12-01 20:55:01 -0500 |
---|---|---|
committer | netblue30 <netblue30@yahoo.com> | 2016-12-01 20:55:01 -0500 |
commit | 89a0adc3cd1677f7b8cb129649fda8165c47f6d9 (patch) | |
tree | 69c80f90ab5e5d3b2689b6e84261bde383c84658 /test/utils | |
parent | cleanup (diff) | |
download | firejail-89a0adc3cd1677f7b8cb129649fda8165c47f6d9.tar.gz firejail-89a0adc3cd1677f7b8cb129649fda8165c47f6d9.tar.zst firejail-89a0adc3cd1677f7b8cb129649fda8165c47f6d9.zip |
testing
Diffstat (limited to 'test/utils')
-rwxr-xr-x | test/utils/shutdown.exp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/utils/shutdown.exp b/test/utils/shutdown.exp index 15a9a62c8..1ab231bf4 100755 --- a/test/utils/shutdown.exp +++ b/test/utils/shutdown.exp | |||
@@ -32,4 +32,18 @@ expect { | |||
32 | } | 32 | } |
33 | sleep 1 | 33 | sleep 1 |
34 | 34 | ||
35 | send -- "firejail --shutdown=sutdowntesting\r" | ||
36 | expect { | ||
37 | timeout {puts "TESTING ERROR 5\n";exit} | ||
38 | "cannot find sandbox sutdowntesting" | ||
39 | } | ||
40 | after 100 | ||
41 | |||
42 | send -- "firejail --shutdown=10\r" | ||
43 | expect { | ||
44 | timeout {puts "TESTING ERROR 5\n";exit} | ||
45 | "this is not a firejail sandbox" | ||
46 | } | ||
47 | after 100 | ||
48 | |||
35 | puts "\nall done\n" | 49 | puts "\nall done\n" |