aboutsummaryrefslogtreecommitdiffstats
path: root/test/network/net_badip.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/network/net_badip.exp')
-rwxr-xr-xtest/network/net_badip.exp19
1 files changed, 19 insertions, 0 deletions
diff --git a/test/network/net_badip.exp b/test/network/net_badip.exp
new file mode 100755
index 000000000..d13a6144e
--- /dev/null
+++ b/test/network/net_badip.exp
@@ -0,0 +1,19 @@
1#!/usr/bin/expect -f
2# This file is part of Firejail project
3# Copyright (C) 2014-2016 Firejail Authors
4# License GPL v2
5
6set timeout 10
7spawn $env(SHELL)
8match_max 100000
9
10# check eth0
11send -- "firejail --net=br0 --net=br1 --ip=10.100.10.47\r"
12expect {
13 timeout {puts "TESTING ERROR 0.0\n";exit}
14 "the IP address is not"
15}
16after 100
17
18puts "\n"
19