aboutsummaryrefslogtreecommitdiffstats
path: root/test/features/2.6.exp
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2015-12-23 16:42:58 -0500
committerLibravatar netblue30 <netblue30@yahoo.com>2015-12-23 16:42:58 -0500
commitdda687ed2a748cb262b317e0c7fdf4a9c4ae2d31 (patch)
tree144fba235fec87d74deff110aaa71891174b3eef /test/features/2.6.exp
parent0.9.36 testing (diff)
downloadfirejail-dda687ed2a748cb262b317e0c7fdf4a9c4ae2d31.tar.gz
firejail-dda687ed2a748cb262b317e0c7fdf4a9c4ae2d31.tar.zst
firejail-dda687ed2a748cb262b317e0c7fdf4a9c4ae2d31.zip
0.9.36 testing
Diffstat (limited to 'test/features/2.6.exp')
-rwxr-xr-xtest/features/2.6.exp31
1 files changed, 16 insertions, 15 deletions
diff --git a/test/features/2.6.exp b/test/features/2.6.exp
index 77bd8cab0..92322d7ec 100755
--- a/test/features/2.6.exp
+++ b/test/features/2.6.exp
@@ -51,21 +51,22 @@ if { $overlay == "overlay" } {
51# 51#
52# C 52# C
53# 53#
54send -- "firejail --noprofile --chroot=/tmp/chroot --net=eth0 --defaultgw=192.168.1.10\r" 54if { $chroot == "chroot" } {
55expect { 55 send -- "firejail --noprofile --chroot=/tmp/chroot --net=eth0 --defaultgw=192.168.1.10\r"
56 timeout {puts "TESTING ERROR 4\n";exit} 56 expect {
57 "Child process initialized" 57 timeout {puts "TESTING ERROR 4\n";exit}
58} 58 "Child process initialized"
59sleep 1 59 }
60 60 sleep 1
61send -- "netstat -rn\r" 61
62expect { 62 send -- "netstat -rn\r"
63 timeout {puts "TESTING ERROR 5\n";exit} 63 expect {
64 "0.0.0.0 192.168.1.10" 64 timeout {puts "TESTING ERROR 5\n";exit}
65 "0.0.0.0 192.168.1.10"
66 }
67 after 100
68 send -- "exit\r"
69 sleep 1
65} 70}
66after 100
67send -- "exit\r"
68sleep 1
69
70 71
71puts "\nall done\n" 72puts "\nall done\n"