diff options
author | 2018-04-13 11:15:48 -0400 | |
---|---|---|
committer | 2018-04-13 11:15:48 -0400 | |
commit | e19a3320081c91fdf05895d87b42e60bcf5e2408 (patch) | |
tree | ca19eb115b98a13bc238273a52e74b35c3a8ac1f /test/environment/firejail-in-firejail2.exp | |
parent | fix problem found by smitsohu (diff) | |
download | firejail-e19a3320081c91fdf05895d87b42e60bcf5e2408.tar.gz firejail-e19a3320081c91fdf05895d87b42e60bcf5e2408.tar.zst firejail-e19a3320081c91fdf05895d87b42e60bcf5e2408.zip |
testing
Diffstat (limited to 'test/environment/firejail-in-firejail2.exp')
-rwxr-xr-x | test/environment/firejail-in-firejail2.exp | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/test/environment/firejail-in-firejail2.exp b/test/environment/firejail-in-firejail2.exp deleted file mode 100755 index 6528e45cd..000000000 --- a/test/environment/firejail-in-firejail2.exp +++ /dev/null | |||
@@ -1,51 +0,0 @@ | |||
1 | #!/usr/bin/expect -f | ||
2 | # This file is part of Firejail project | ||
3 | # Copyright (C) 2014-2018 Firejail Authors | ||
4 | # License GPL v2 | ||
5 | |||
6 | set timeout 10 | ||
7 | spawn $env(SHELL) | ||
8 | match_max 100000 | ||
9 | |||
10 | send -- "firejail --noprofile\r" | ||
11 | expect { | ||
12 | timeout {puts "TESTING ERROR 1\n";exit} | ||
13 | "Child process initialized" | ||
14 | } | ||
15 | sleep 1 | ||
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 | |||
27 | send -- "firejail --force\r" | ||
28 | expect { | ||
29 | timeout {puts "TESTING ERROR 3\n";exit} | ||
30 | "Child process initialized" | ||
31 | } | ||
32 | after 100 | ||
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 | |||
51 | puts "\nall done\n" | ||