mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Test updates.
Includes splitting up one test which's output now depends on wether we've compiled with IPv6 support or not.
This commit is contained in:
parent
1b76b76bb0
commit
b16bb7fff4
7 changed files with 18 additions and 2 deletions
|
@ -0,0 +1,4 @@
|
|||
not ip6
|
||||
not ip6
|
||||
(not ip6) and (tcp[13] & 7 != 0)
|
||||
port 42
|
|
@ -0,0 +1 @@
|
|||
1128727435.450898 1.733303 141.42.64.125 125.190.109.199 http 56730 80 tcp 98 9417 SF X
|
|
@ -28,7 +28,6 @@
|
|||
2nd test2-11-03-07_12.00.05.log test2.log 11-03-07_12.00.05 11-03-07_12.59.55 0
|
||||
1st test-11-03-07_12.00.05.log test.log 11-03-07_12.00.05 11-03-07_12.59.55 1
|
||||
2nd test2-11-03-07_12.59.55.log test2.log 11-03-07_12.59.55 11-03-07_12.59.55 1
|
||||
# t id.orig_h id.orig_p id.resp_h id.resp_p
|
||||
1299466805.0 10.0.0.1 20 10.0.0.2 1024
|
||||
1299470395.0 10.0.0.2 20 10.0.0.3 0
|
||||
1299470405.0 10.0.0.1 20 10.0.0.2 1025
|
||||
|
@ -59,7 +58,6 @@
|
|||
> test-11-03-07_10.00.05.log
|
||||
> test-11-03-07_11.00.05.log
|
||||
> test-11-03-07_12.00.05.log
|
||||
> test.log
|
||||
> test2-11-03-07_03.00.05.log
|
||||
> test2-11-03-07_03.59.55.log
|
||||
> test2-11-03-07_04.00.05.log
|
||||
|
@ -81,3 +79,5 @@
|
|||
> test2-11-03-07_12.00.05.log
|
||||
> test2-11-03-07_12.59.55.log
|
||||
> test2.log
|
||||
> test.log
|
||||
# t id.orig_h id.orig_p id.resp_h id.resp_p
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# @TEST-REQUIRES: bro -e 'print bro_has_ipv6()' | grep -q F
|
||||
#
|
||||
# @TEST-EXEC: bro print-filter >output 2>&1
|
||||
# @TEST-EXEC: bro tcp print-filter >>output
|
||||
# @TEST-EXEC: bro tcp print-filter all_packets=F >>output
|
9
testing/btest/core/print-bpf-filters-ipv6.bro
Normal file
9
testing/btest/core/print-bpf-filters-ipv6.bro
Normal file
|
@ -0,0 +1,9 @@
|
|||
# @TEST-REQUIRES: bro -e 'print bro_has_ipv6()' | grep -q T
|
||||
#
|
||||
# @TEST-EXEC: bro print-filter >output 2>&1
|
||||
# @TEST-EXEC: bro tcp print-filter >>output
|
||||
# @TEST-EXEC: bro tcp print-filter all_packets=F >>output
|
||||
# @TEST-EXEC: bro -f "port 42" print-filter >>output
|
||||
# @TEST-EXEC: bro -C -f "port 50343" -r $TRACES/mixed-vlan-mpls.trace tcp
|
||||
# @TEST-EXEC: btest-diff output
|
||||
# @TEST-EXEC: btest-diff conn.log
|
Loading…
Add table
Add a link
Reference in a new issue