16 lines
416 B
Plaintext
16 lines
416 B
Plaintext
# @TEST-REQUIRES: test "${ZEEK_USE_CPP}" != "1"
|
|
# @TEST-EXEC-FAIL: zeek -b -i NO_SUCH_INTERFACE 2>&1 >>output 2>&1
|
|
# @TEST-EXEC: cat output | sed 's/(.*)//g' >output2
|
|
# @TEST-EXEC-FAIL: zeek -b -r NO_SUCH_TRACE 2>&1 >>output2 2>&1
|
|
# @TEST-EXEC: btest-diff output2
|
|
|
|
redef enum PcapFilterID += { A };
|
|
|
|
event zeek_init()
|
|
{
|
|
if ( ! Pcap::precompile_pcap_filter(A, "kaputt, too") )
|
|
print "error", Pcap::error();
|
|
}
|
|
|
|
|