diff options
author | 2015-10-20 11:01:40 -0400 | |
---|---|---|
committer | 2015-10-20 11:01:40 -0400 | |
commit | 45060ec40f0e9790d5e6a503486867951df71300 (patch) | |
tree | 1811814d5fbd5f4806c0a8d527806fffc137f5e5 /test/profile_apps.exp | |
parent | fixed join/shutdown problem, moving browsers and mail clients to a --shell=no... (diff) | |
download | firejail-45060ec40f0e9790d5e6a503486867951df71300.tar.gz firejail-45060ec40f0e9790d5e6a503486867951df71300.tar.zst firejail-45060ec40f0e9790d5e6a503486867951df71300.zip |
testing and fixes
Diffstat (limited to 'test/profile_apps.exp')
-rwxr-xr-x | test/profile_apps.exp | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/test/profile_apps.exp b/test/profile_apps.exp deleted file mode 100755 index c57b31489..000000000 --- a/test/profile_apps.exp +++ /dev/null | |||
@@ -1,48 +0,0 @@ | |||
1 | #!/usr/bin/expect -f | ||
2 | |||
3 | set timeout 10 | ||
4 | spawn $env(SHELL) | ||
5 | match_max 100000 | ||
6 | |||
7 | # firefox | ||
8 | send -- "firejail --profile=/etc/firejail/firefox.profile\r" | ||
9 | expect { | ||
10 | timeout {puts "TESTING ERROR 0\n";exit} | ||
11 | "Child process initialized" | ||
12 | } | ||
13 | sleep 1 | ||
14 | send -- "exit\r" | ||
15 | sleep 1 | ||
16 | |||
17 | # iceweasel | ||
18 | send -- "firejail --profile=/etc/firejail/iceweasel.profile\r" | ||
19 | expect { | ||
20 | timeout {puts "TESTING ERROR 1\n";exit} | ||
21 | "Child process initialized" | ||
22 | } | ||
23 | sleep 1 | ||
24 | send -- "exit\r" | ||
25 | sleep 1 | ||
26 | |||
27 | # evince | ||
28 | send -- "firejail --profile=/etc/firejail/evince.profile\r" | ||
29 | expect { | ||
30 | timeout {puts "TESTING ERROR 2\n";exit} | ||
31 | "Child process initialized" | ||
32 | } | ||
33 | sleep 1 | ||
34 | send -- "exit\r" | ||
35 | sleep 1 | ||
36 | |||
37 | # midori | ||
38 | send -- "firejail --profile=/etc/firejail/midori.profile\r" | ||
39 | expect { | ||
40 | timeout {puts "TESTING ERROR 3\n";exit} | ||
41 | "Child process initialized" | ||
42 | } | ||
43 | sleep 1 | ||
44 | send -- "exit\r" | ||
45 | sleep 1 | ||
46 | |||
47 | |||
48 | puts "\n" | ||