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-shutdown.exp | |
parent | make testing (diff) | |
download | firejail-c729d5927d5db964e71bfe30a269acf26786fef7.tar.gz firejail-c729d5927d5db964e71bfe30a269acf26786fef7.tar.zst firejail-c729d5927d5db964e71bfe30a269acf26786fef7.zip |
testing
Diffstat (limited to 'test/option-shutdown.exp')
-rwxr-xr-x | test/option-shutdown.exp | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/test/option-shutdown.exp b/test/option-shutdown.exp deleted file mode 100755 index e869f7611..000000000 --- a/test/option-shutdown.exp +++ /dev/null | |||
@@ -1,30 +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=shutdowntesting\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 --shutdown=shutdowntesting;pwd\r" | ||
16 | expect { | ||
17 | timeout {puts "TESTING ERROR 4\n";exit} | ||
18 | "home" | ||
19 | } | ||
20 | sleep 1 | ||
21 | |||
22 | send -- "firejail --list;pwd\r" | ||
23 | expect { | ||
24 | timeout {puts "TESTING ERROR 5\n";exit} | ||
25 | "shutdowntesting" {puts "TESTING ERROR 6\n";exit} | ||
26 | "home" | ||
27 | } | ||
28 | sleep 1 | ||
29 | |||
30 | puts "\nalldone\n" | ||