zeek/testing/btest/core/pcap/wrong-format.zeek
Patrick Kelley 8fd444092b initial
2025-05-07 15:35:15 -04:00

11 lines
340 B
Plaintext

# @TEST-REQUIRES: test "${ZEEK_USE_CPP}" != "1"
# @TEST-EXEC-FAIL: zeek -b -r not-a.pcap >output 2>&1
# @TEST-EXEC: btest-diff output
# @TEST-EXEC-FAIL: cat not-a.pcap | zeek -b -r - >output2 2>&1
# @TEST-EXEC: btest-diff output2
# @TEST-START-FILE ./not-a.pcap
%PDF-1.5
This isn't an actual pdf file, and neither a PCAP.
# @TEST-END-FILE