diff options
author | netblue30 <netblue30@yahoo.com> | 2016-04-23 20:35:52 -0400 |
---|---|---|
committer | netblue30 <netblue30@yahoo.com> | 2016-04-23 20:35:52 -0400 |
commit | c729d5927d5db964e71bfe30a269acf26786fef7 (patch) | |
tree | 192c74fa0dae843fd2b59044df6e0c78925f424a /test/option-join3.exp | |
parent | make testing (diff) | |
download | firejail-c729d5927d5db964e71bfe30a269acf26786fef7.tar.gz firejail-c729d5927d5db964e71bfe30a269acf26786fef7.tar.zst firejail-c729d5927d5db964e71bfe30a269acf26786fef7.zip |
testing
Diffstat (limited to 'test/option-join3.exp')
-rwxr-xr-x | test/option-join3.exp | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/test/option-join3.exp b/test/option-join3.exp deleted file mode 100755 index aa8a445df..000000000 --- a/test/option-join3.exp +++ /dev/null | |||
@@ -1,39 +0,0 @@ | |||
1 | #!/usr/bin/expect -f | ||
2 | |||
3 | set timeout 10 | ||
4 | spawn $env(SHELL) | ||
5 | match_max 100000 | ||
6 | |||
7 | send -- "firejail --name=svn\\ testing\r" | ||
8 | expect { | ||
9 | timeout {puts "TESTING ERROR 0\n";exit} | ||
10 | "Child process initialized" | ||
11 | } | ||
12 | sleep 3 | ||
13 | |||
14 | spawn $env(SHELL) | ||
15 | send -- "firejail --join=svn\\ testing;pwd\r" | ||
16 | expect { | ||
17 | timeout {puts "TESTING ERROR 1\n";exit} | ||
18 | "Switching to pid" | ||
19 | } | ||
20 | sleep 1 | ||
21 | |||
22 | |||
23 | spawn $env(SHELL) | ||
24 | send -- "firejail --shutdown=svn\\ testing;pwd\r" | ||
25 | expect { | ||
26 | timeout {puts "TESTING ERROR 3\n";exit} | ||
27 | "home" | ||
28 | } | ||
29 | sleep 1 | ||
30 | |||
31 | send -- "firejail --list;pwd\r" | ||
32 | expect { | ||
33 | timeout {puts "TESTING ERROR 4\n";exit} | ||
34 | "svn testing" {puts "TESTING ERROR 5\n";exit} | ||
35 | "home" | ||
36 | } | ||
37 | sleep 1 | ||
38 | |||
39 | puts "\nall done\n" | ||