mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
test suite updates for &/| pattern operators
This commit is contained in:
parent
f340707e2c
commit
762048cb41
2 changed files with 8 additions and 0 deletions
|
@ -6,3 +6,7 @@ inequality operator (order of operands) (PASS)
|
|||
in operator (PASS)
|
||||
in operator (PASS)
|
||||
!in operator (PASS)
|
||||
& operator (PASS)
|
||||
& operator (FAIL)
|
||||
| operator (PASS)
|
||||
| operator (FAIL)
|
||||
|
|
|
@ -27,6 +27,10 @@ event bro_init()
|
|||
test_case( "in operator", p1 in "foobar" );
|
||||
test_case( "in operator", p2 in "foobar" );
|
||||
test_case( "!in operator", p3 !in "foobar" );
|
||||
test_case( "& operator", p1 & p2 in "baroob" );
|
||||
test_case( "& operator", p2 & p1 in "baroob" );
|
||||
test_case( "| operator", p1 | p2 in "lazybarlazy" );
|
||||
test_case( "| operator", p3 | p4 in "xoob" );
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue