mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
testing/btest/*evt: Comment all @TEST lines
This commit is contained in:
parent
85b8c8866b
commit
6617da5bbd
2 changed files with 7 additions and 7 deletions
|
@ -11,21 +11,21 @@ protocol analyzer spicy::Test over TCP:
|
||||||
on TestAssertion::Alias -> event Test::my_event(); # works
|
on TestAssertion::Alias -> event Test::my_event(); # works
|
||||||
on Data -> event Test::my_event(); # failure: can't find unit due to missing namespace
|
on Data -> event Test::my_event(); # failure: can't find unit due to missing namespace
|
||||||
|
|
||||||
@TEST-START-NEXT
|
# @TEST-START-NEXT
|
||||||
|
|
||||||
protocol analyzer spicy::Test over TCP:
|
protocol analyzer spicy::Test over TCP:
|
||||||
parse with TestAssertion::Data;
|
parse with TestAssertion::Data;
|
||||||
|
|
||||||
on TestAssertion::DoesNotExit -> event Test::my_event(); # failure: no such type
|
on TestAssertion::DoesNotExit -> event Test::my_event(); # failure: no such type
|
||||||
|
|
||||||
@TEST-START-NEXT
|
# @TEST-START-NEXT
|
||||||
|
|
||||||
protocol analyzer spicy::Test over TCP:
|
protocol analyzer spicy::Test over TCP:
|
||||||
parse with TestAssertion::Data;
|
parse with TestAssertion::Data;
|
||||||
|
|
||||||
on TestAssertion::E -> event Test::my_event(); # failure: exists, but not a unit type
|
on TestAssertion::E -> event Test::my_event(); # failure: exists, but not a unit type
|
||||||
|
|
||||||
@TEST-START-FILE test.spicy
|
# @TEST-START-FILE test.spicy
|
||||||
module TestAssertion;
|
module TestAssertion;
|
||||||
|
|
||||||
public type Data = unit {
|
public type Data = unit {
|
||||||
|
@ -34,5 +34,5 @@ public type Data = unit {
|
||||||
|
|
||||||
public type Alias = Data;
|
public type Alias = Data;
|
||||||
public type E = enum { One };
|
public type E = enum { One };
|
||||||
@TEST-END-FILE
|
# @TEST-END-FILE
|
||||||
|
|
||||||
|
|
|
@ -6,17 +6,17 @@
|
||||||
protocol analyzer spicy::SSH over TCP:
|
protocol analyzer spicy::SSH over TCP:
|
||||||
port 123456/udp;
|
port 123456/udp;
|
||||||
|
|
||||||
@TEST-START-NEXT
|
# @TEST-START-NEXT
|
||||||
|
|
||||||
protocol analyzer spicy::SSH over TCP:
|
protocol analyzer spicy::SSH over TCP:
|
||||||
port -1/udp;
|
port -1/udp;
|
||||||
|
|
||||||
@TEST-START-NEXT
|
# @TEST-START-NEXT
|
||||||
|
|
||||||
protocol analyzer spicy::SSH over TCP:
|
protocol analyzer spicy::SSH over TCP:
|
||||||
port 1/udp-2/tcp;
|
port 1/udp-2/tcp;
|
||||||
|
|
||||||
@TEST-START-NEXT
|
# @TEST-START-NEXT
|
||||||
|
|
||||||
protocol analyzer spicy::SSH over TCP:
|
protocol analyzer spicy::SSH over TCP:
|
||||||
port 2/udp-1/udp;
|
port 2/udp-1/udp;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue