diff options
Diffstat (limited to 'test/network/net_netfilter.exp')
-rwxr-xr-x | test/network/net_netfilter.exp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/network/net_netfilter.exp b/test/network/net_netfilter.exp index 65865122a..eef4a145f 100755 --- a/test/network/net_netfilter.exp +++ b/test/network/net_netfilter.exp | |||
@@ -27,7 +27,7 @@ expect { | |||
27 | } | 27 | } |
28 | expect { | 28 | expect { |
29 | timeout {puts "TESTING ERROR 4\n";exit} | 29 | timeout {puts "TESTING ERROR 4\n";exit} |
30 | "Child process initialized" | 30 | -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms" |
31 | } | 31 | } |
32 | sleep 1 | 32 | sleep 1 |
33 | send -- "exit\r" | 33 | send -- "exit\r" |
@@ -41,7 +41,7 @@ expect { | |||
41 | "Chain INPUT (policy DROP" {puts "TESTING ERROR 5.1\n";exit} | 41 | "Chain INPUT (policy DROP" {puts "TESTING ERROR 5.1\n";exit} |
42 | "ACCEPT all -- any any anywhere" {puts "TESTING ERROR 5.1\n";exit} | 42 | "ACCEPT all -- any any anywhere" {puts "TESTING ERROR 5.1\n";exit} |
43 | "ACCEPT icmp -- any any anywhere" {puts "TESTING ERROR 5.1\n";exit} | 43 | "ACCEPT icmp -- any any anywhere" {puts "TESTING ERROR 5.1\n";exit} |
44 | "Child process initialized" | 44 | -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms" |
45 | } | 45 | } |
46 | sleep 1 | 46 | sleep 1 |
47 | send -- "exit\r" | 47 | send -- "exit\r" |
@@ -55,7 +55,7 @@ expect { | |||
55 | } | 55 | } |
56 | expect { | 56 | expect { |
57 | timeout {puts "TESTING ERROR 6.1\n";exit} | 57 | timeout {puts "TESTING ERROR 6.1\n";exit} |
58 | "Child process initialized" | 58 | -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms" |
59 | } | 59 | } |
60 | sleep 1 | 60 | sleep 1 |
61 | send -- "ping -c 1 -w 3 10.10.20.1\r" | 61 | send -- "ping -c 1 -w 3 10.10.20.1\r" |
@@ -75,7 +75,7 @@ expect { | |||
75 | } | 75 | } |
76 | expect { | 76 | expect { |
77 | timeout {puts "TESTING ERROR 7.1\n";exit} | 77 | timeout {puts "TESTING ERROR 7.1\n";exit} |
78 | "Child process initialized" | 78 | -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms" |
79 | } | 79 | } |
80 | sleep 2 | 80 | sleep 2 |
81 | send -- "ping -c 1 -w 3 10.10.20.1\r" | 81 | send -- "ping -c 1 -w 3 10.10.20.1\r" |