diff options
author | 2016-12-06 11:07:25 -0500 | |
---|---|---|
committer | 2016-12-06 11:07:25 -0500 | |
commit | 96b67ed4ed768e0d37c6e22334031cd302982509 (patch) | |
tree | 24f26ac5af9e961c5a24d9d77f89b59b1b75f547 /test/environment/firejail-in-firejail2.exp | |
parent | testing (diff) | |
download | firejail-96b67ed4ed768e0d37c6e22334031cd302982509.tar.gz firejail-96b67ed4ed768e0d37c6e22334031cd302982509.tar.zst firejail-96b67ed4ed768e0d37c6e22334031cd302982509.zip |
fixes
Diffstat (limited to 'test/environment/firejail-in-firejail2.exp')
-rwxr-xr-x | test/environment/firejail-in-firejail2.exp | 29 |
1 files changed, 28 insertions, 1 deletions
diff --git a/test/environment/firejail-in-firejail2.exp b/test/environment/firejail-in-firejail2.exp index 37d1c2870..330e5e372 100755 --- a/test/environment/firejail-in-firejail2.exp +++ b/test/environment/firejail-in-firejail2.exp | |||
@@ -14,11 +14,38 @@ expect { | |||
14 | } | 14 | } |
15 | sleep 1 | 15 | sleep 1 |
16 | 16 | ||
17 | send -- "firejail\r" | ||
18 | expect { | ||
19 | timeout {puts "TESTING ERROR 2\n";exit} | ||
20 | "Warning: an existing sandbox was detected" | ||
21 | } | ||
22 | after 100 | ||
23 | |||
24 | send -- "exit\r" | ||
25 | after 100 | ||
26 | |||
17 | send -- "firejail --force\r" | 27 | send -- "firejail --force\r" |
18 | expect { | 28 | expect { |
19 | timeout {puts "TESTING ERROR 1\n";exit} | 29 | timeout {puts "TESTING ERROR 3\n";exit} |
20 | "Child process initialized" | 30 | "Child process initialized" |
21 | } | 31 | } |
22 | after 100 | 32 | after 100 |
23 | 33 | ||
34 | send -- "exit\r" | ||
35 | after 100 | ||
36 | |||
37 | send -- "firejail --version\r" | ||
38 | expect { | ||
39 | timeout {puts "TESTING ERROR 4\n";exit} | ||
40 | "firejail version" | ||
41 | } | ||
42 | after 100 | ||
43 | |||
44 | send -- "firejail --version --force\r" | ||
45 | expect { | ||
46 | timeout {puts "TESTING ERROR 5\n";exit} | ||
47 | "firejail version" | ||
48 | } | ||
49 | after 100 | ||
50 | |||
24 | puts "\nall done\n" | 51 | puts "\nall done\n" |