mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 16:48:19 +00:00
Make invalidtext.bro test stable.
This commit is contained in:
parent
e7611e8521
commit
5ec2108bc7
1 changed files with 2 additions and 8 deletions
|
@ -1,6 +1,6 @@
|
||||||
# @TEST-EXEC: btest-bg-run bro bro -b %INPUT
|
# @TEST-EXEC: btest-bg-run bro bro -b %INPUT
|
||||||
# @TEST-EXEC: btest-bg-wait 10
|
# @TEST-EXEC: btest-bg-wait 10
|
||||||
# @TEST-EXEC: btest-diff out
|
# @TEST-EXEC: TEST_DIFF_CANONIFIER=$SCRIPTS/diff-sort btest-diff out
|
||||||
# @TEST-EXEC: sed 1d .stderr > .stderrwithoutfirstline
|
# @TEST-EXEC: sed 1d .stderr > .stderrwithoutfirstline
|
||||||
# @TEST-EXEC: TEST_DIFF_CANONIFIER=$SCRIPTS/diff-remove-abspath btest-diff .stderrwithoutfirstline
|
# @TEST-EXEC: TEST_DIFF_CANONIFIER=$SCRIPTS/diff-remove-abspath btest-diff .stderrwithoutfirstline
|
||||||
|
|
||||||
|
@ -57,15 +57,9 @@ event Input::end_of_data(name: string, source:string)
|
||||||
{
|
{
|
||||||
++endcount;
|
++endcount;
|
||||||
|
|
||||||
if ( endcount == 1 )
|
|
||||||
{
|
|
||||||
print outfile, servers;
|
|
||||||
Input::remove("ssh");
|
|
||||||
}
|
|
||||||
|
|
||||||
if ( endcount == 2 )
|
if ( endcount == 2 )
|
||||||
{
|
{
|
||||||
Input::remove("sshevent");
|
print outfile, servers;
|
||||||
terminate();
|
terminate();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue