aboutsummaryrefslogtreecommitdiffstats
path: root/test/option-shutdown3.exp
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2016-04-23 20:35:52 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2016-04-23 20:35:52 -0400
commitc729d5927d5db964e71bfe30a269acf26786fef7 (patch)
tree192c74fa0dae843fd2b59044df6e0c78925f424a /test/option-shutdown3.exp
parentmake testing (diff)
downloadfirejail-c729d5927d5db964e71bfe30a269acf26786fef7.tar.gz
firejail-c729d5927d5db964e71bfe30a269acf26786fef7.tar.zst
firejail-c729d5927d5db964e71bfe30a269acf26786fef7.zip
testing
Diffstat (limited to 'test/option-shutdown3.exp')
-rwxr-xr-xtest/option-shutdown3.exp62
1 files changed, 0 insertions, 62 deletions
diff --git a/test/option-shutdown3.exp b/test/option-shutdown3.exp
deleted file mode 100755
index 0ef371cd8..000000000
--- a/test/option-shutdown3.exp
+++ /dev/null
@@ -1,62 +0,0 @@
1#!/usr/bin/expect -f
2
3set timeout 10
4spawn $env(SHELL)
5match_max 100000
6
7set firstspawn $spawn_id
8
9send -- "firejail --name=shutdowntesting ./catchsignal-master.sh\r"
10expect {
11 timeout {puts "TESTING ERROR 0\n";exit}
12 "Child process initialized"
13}
14sleep 2
15
16spawn $env(SHELL)
17send -- "firejail --shutdown=shutdowntesting\r"
18
19set spawn_id $firstspawn
20expect {
21 timeout {puts "TESTING ERROR 1\n";exit}
22 "1"
23}
24expect {
25 timeout {puts "TESTING ERROR 2\n";exit}
26 "1"
27}
28expect {
29 timeout {puts "TESTING ERROR 3\n";exit}
30 "2"
31}
32expect {
33 timeout {puts "TESTING ERROR 4\n";exit}
34 "2"
35}
36expect {
37 timeout {puts "TESTING ERROR 5\n";exit}
38 "3"
39}
40expect {
41 timeout {puts "TESTING ERROR 6\n";exit}
42 "3"
43}
44expect {
45 timeout {puts "TESTING ERROR 7\n";exit}
46 "4"
47}
48expect {
49 timeout {puts "TESTING ERROR 8\n";exit}
50 "4"
51}
52expect {
53 timeout {puts "TESTING ERROR 9\n";exit}
54 "5"
55}
56expect {
57 timeout {puts "TESTING ERROR 10\n";exit}
58 "5"
59}
60sleep 1
61
62puts "\nalldone\n"