aboutsummaryrefslogtreecommitdiffstats
path: root/test/features/2.6.exp
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2015-12-23 12:38:13 -0500
committerLibravatar netblue30 <netblue30@yahoo.com>2015-12-23 12:38:13 -0500
commit686bc51e38b0718651e82818871b0bf1451c8b21 (patch)
tree521f5fc2123c4782493fc86b46cc41533acb85db /test/features/2.6.exp
parent0.9.36 testing (diff)
downloadfirejail-686bc51e38b0718651e82818871b0bf1451c8b21.tar.gz
firejail-686bc51e38b0718651e82818871b0bf1451c8b21.tar.zst
firejail-686bc51e38b0718651e82818871b0bf1451c8b21.zip
0.9.36 testing
Diffstat (limited to 'test/features/2.6.exp')
-rwxr-xr-xtest/features/2.6.exp31
1 files changed, 17 insertions, 14 deletions
diff --git a/test/features/2.6.exp b/test/features/2.6.exp
index dc2381393..77bd8cab0 100755
--- a/test/features/2.6.exp
+++ b/test/features/2.6.exp
@@ -6,6 +6,7 @@
6set timeout 10 6set timeout 10
7spawn $env(SHELL) 7spawn $env(SHELL)
8match_max 100000 8match_max 100000
9set overlay [lindex $argv 0]
9 10
10# 11#
11# N 12# N
@@ -29,21 +30,23 @@ sleep 1
29# 30#
30# O 31# O
31# 32#
32send -- "firejail --noprofile --overlay --net=eth0 --defaultgw=192.168.1.10\r" 33if { $overlay == "overlay" } {
33expect { 34 send -- "firejail --noprofile --overlay --net=eth0 --defaultgw=192.168.1.10\r"
34 timeout {puts "TESTING ERROR 2\n";exit} 35 expect {
35 "Child process initialized" 36 timeout {puts "TESTING ERROR 2\n";exit}
37 "Child process initialized"
38 }
39 sleep 1
40
41 send -- "netstat -rn\r"
42 expect {
43 timeout {puts "TESTING ERROR 3\n";exit}
44 "0.0.0.0 192.168.1.10"
45 }
46 after 100
47 send -- "exit\r"
48 sleep 1
36} 49}
37sleep 1
38
39send -- "netstat -rn\r"
40expect {
41 timeout {puts "TESTING ERROR 3\n";exit}
42 "0.0.0.0 192.168.1.10"
43}
44after 100
45send -- "exit\r"
46sleep 1
47 50
48# 51#
49# C 52# C