aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2016-12-01 20:55:01 -0500
committerLibravatar netblue30 <netblue30@yahoo.com>2016-12-01 20:55:01 -0500
commit89a0adc3cd1677f7b8cb129649fda8165c47f6d9 (patch)
tree69c80f90ab5e5d3b2689b6e84261bde383c84658 /test
parentcleanup (diff)
downloadfirejail-89a0adc3cd1677f7b8cb129649fda8165c47f6d9.tar.gz
firejail-89a0adc3cd1677f7b8cb129649fda8165c47f6d9.tar.zst
firejail-89a0adc3cd1677f7b8cb129649fda8165c47f6d9.zip
testing
Diffstat (limited to 'test')
-rwxr-xr-xtest/environment/dns.exp2
-rwxr-xr-xtest/utils/shutdown.exp14
2 files changed, 15 insertions, 1 deletions
diff --git a/test/environment/dns.exp b/test/environment/dns.exp
index 3e2a0ffd4..0d12a82f2 100755
--- a/test/environment/dns.exp
+++ b/test/environment/dns.exp
@@ -71,6 +71,6 @@ after 100
71send -- "rm index.html\r" 71send -- "rm index.html\r"
72after 100 72after 100
73send -- "exit\r" 73send -- "exit\r"
74after 100 74sleep 1
75 75
76puts "\nall done\n" 76puts "\nall done\n"
diff --git a/test/utils/shutdown.exp b/test/utils/shutdown.exp
index 15a9a62c8..1ab231bf4 100755
--- a/test/utils/shutdown.exp
+++ b/test/utils/shutdown.exp
@@ -32,4 +32,18 @@ expect {
32} 32}
33sleep 1 33sleep 1
34 34
35send -- "firejail --shutdown=sutdowntesting\r"
36expect {
37 timeout {puts "TESTING ERROR 5\n";exit}
38 "cannot find sandbox sutdowntesting"
39}
40after 100
41
42send -- "firejail --shutdown=10\r"
43expect {
44 timeout {puts "TESTING ERROR 5\n";exit}
45 "this is not a firejail sandbox"
46}
47after 100
48
35puts "\nall done\n" 49puts "\nall done\n"