mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 17:48:21 +00:00

While there's a btest environment for ZAM, it's currently not run by default. Add a single zam/basic.test so that we catch memory leaks or dead-on-arrival cases with the current CI setup.
16 lines
576 B
Text
16 lines
576 B
Text
# @TEST-DOC: Smoke checking that nothing is obviously broken with ZAM.
|
|
#
|
|
# @TEST-EXEC: zeek -r $TRACES/wikipedia.trace %INPUT
|
|
# @TEST-EXEC: mkdir non-zam
|
|
# @TEST-EXEC: mv *log non-zam
|
|
#
|
|
# @TEST-EXEC: zeek -OZAM -r $TRACES/wikipedia.trace %INPUT
|
|
#
|
|
# @TEST-EXEC: btest-diff conn.log
|
|
# @TEST-EXEC: btest-diff dns.log
|
|
# @TEST-EXEC: btest-diff http.log
|
|
#
|
|
# Compare the ZAM created logs with the non-zam ones
|
|
# @TEST-EXEC: TEST_BASELINE=./non-zam btest-diff conn.log
|
|
# @TEST-EXEC: TEST_BASELINE=./non-zam btest-diff dns.log
|
|
# @TEST-EXEC: TEST_BASELINE=./non-zam btest-diff http.log
|