zeek/testing/btest/Baseline/scripts.base.frameworks.input.raw.execute/out
Jon Siwek 85084f2493 Input framework unit test adjustments.
- Generally increased the time allowed before they timeout.

- For tests w/ a clear termination condition (most of them), made
  timeouts result in a test failure.

- Seemed to be a race in some cases between tests generating output and
  the input reader stream getting removed/closed, so moved stream removal
  closer to termination time, when all output should be available.
2013-08-14 14:10:04 -05:00

13 lines
310 B
Text

[source=wc -l ../input.log |, reader=Input::READER_RAW, mode=Input::MANUAL, name=input, fields=<no value description>, want_record=F, ev=line
{
print outfile, description;
print outfile, tpe;
print outfile, s;
Input::remove(input);
close(outfile);
terminate();
}, config={
}]
Input::EVENT_NEW
8 ../input.log