diff --git a/testing/btest/Baseline.zam/core.expr-exception/output b/testing/btest/Baseline.zam/core.expr-exception/output index 9ea22c91da..49d861c74c 100644 --- a/testing/btest/Baseline.zam/core.expr-exception/output +++ b/testing/btest/Baseline.zam/core.expr-exception/output @@ -1,19 +1 @@ ### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63. -ftp field missing -[orig_h=141.142.220.118, orig_p=48649/tcp, resp_h=208.80.152.118, resp_p=80/tcp] -ftp field missing -[orig_h=141.142.220.118, orig_p=49997/tcp, resp_h=208.80.152.3, resp_p=80/tcp] -ftp field missing -[orig_h=141.142.220.118, orig_p=49996/tcp, resp_h=208.80.152.3, resp_p=80/tcp] -ftp field missing -[orig_h=141.142.220.118, orig_p=49998/tcp, resp_h=208.80.152.3, resp_p=80/tcp] -ftp field missing -[orig_h=141.142.220.118, orig_p=50000/tcp, resp_h=208.80.152.3, resp_p=80/tcp] -ftp field missing -[orig_h=141.142.220.118, orig_p=49999/tcp, resp_h=208.80.152.3, resp_p=80/tcp] -ftp field missing -[orig_h=141.142.220.118, orig_p=50001/tcp, resp_h=208.80.152.3, resp_p=80/tcp] -ftp field missing -[orig_h=141.142.220.118, orig_p=35642/tcp, resp_h=208.80.152.2, resp_p=80/tcp] -ftp field missing -[orig_h=141.142.220.235, orig_p=6705/tcp, resp_h=173.192.163.128, resp_p=80/tcp] diff --git a/testing/btest/Baseline.zam/scripts.base.frameworks.logging.event-groups-integration/output b/testing/btest/Baseline.zam/scripts.base.frameworks.logging.event-groups-integration/output new file mode 100644 index 0000000000..2a0a2beb81 --- /dev/null +++ b/testing/btest/Baseline.zam/scripts.base.frameworks.logging.event-groups-integration/output @@ -0,0 +1,51 @@ +### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63. +packet counting, 1 +packet observer, 1 +packet logging, 1 +packet counting, 2 +packet observer, 2 +packet logging, 2 +packet counting, 3 +packet observer, 3 +packet logging, 3 +packet counting, 4 +packet observer, 4 +packet logging, 4 +packet counting, 5 +packet observer, 5 +packet logging, 5 +packet counting, 6 +Log::disable_stream() +packet observer, 6 +packet logging, 6 +packet counting, 7 +packet counting, 8 +packet counting, 9 +packet counting, 10 +packet counting, 11 +packet counting, 12 +packet counting, 13 +packet counting, 14 +packet counting, 15 +packet counting, 16 +packet counting, 17 +packet counting, 18 +packet counting, 19 +packet counting, 20 +packet counting, 21 +packet counting, 22 +packet counting, 23 +packet counting, 24 +packet counting, 25 +Log::enable_stream() +packet observer, 25 +packet logging, 25 +packet counting, 26 +packet observer, 26 +packet logging, 26 +packet counting, 27 +packet observer, 27 +packet logging, 27 +packet counting, 28 +packet observer, 28 +packet logging, 28 diff --git a/testing/btest/Baseline.zam/scripts.base.frameworks.logging.event-groups-integration/packet.log b/testing/btest/Baseline.zam/scripts.base.frameworks.logging.event-groups-integration/packet.log new file mode 100644 index 0000000000..2fd7c801ce --- /dev/null +++ b/testing/btest/Baseline.zam/scripts.base.frameworks.logging.event-groups-integration/packet.log @@ -0,0 +1,19 @@ +### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63. +#separator \x09 +#set_separator , +#empty_field (empty) +#unset_field - +#path packet +#open XXXX-XX-XX-XX-XX-XX +#fields ts c ttl len +#types time count count count +XXXXXXXXXX.XXXXXX 1 64 66 +XXXXXXXXXX.XXXXXX 2 59 117 +XXXXXXXXXX.XXXXXX 3 64 80 +XXXXXXXXXX.XXXXXX 4 59 127 +XXXXXXXXXX.XXXXXX 5 64 66 +XXXXXXXXXX.XXXXXX 25 64 64 +XXXXXXXXXX.XXXXXX 26 59 159 +XXXXXXXXXX.XXXXXX 27 64 64 +XXXXXXXXXX.XXXXXX 28 59 226 +#close XXXX-XX-XX-XX-XX-XX diff --git a/testing/btest/opt/pure-inlining.zeek b/testing/btest/opt/pure-inlining.zeek index ec1e9b8c74..e2451f1003 100644 --- a/testing/btest/opt/pure-inlining.zeek +++ b/testing/btest/opt/pure-inlining.zeek @@ -1,4 +1,5 @@ # @TEST-REQUIRES: test "${ZEEK_USE_CPP}" != "1" +# @TEST-REQUIRES: test "${ZEEK_ZAM}" != "1" # @TEST-EXEC: zeek -b -O inline %INPUT >output # @TEST-EXEC: btest-diff output diff --git a/testing/btest/scripts/base/utils/dir.test b/testing/btest/scripts/base/utils/dir.test index d37fe4a044..d66228290c 100644 --- a/testing/btest/scripts/base/utils/dir.test +++ b/testing/btest/scripts/base/utils/dir.test @@ -1,4 +1,9 @@ # @TEST-EXEC: btest-bg-run zeek zeek -b ../dirtest.zeek +# +# The following helps eliminate race conditions when Zeek startup is +# slow due to ZAM compilation. +# @TEST-EXEC: sleep 5 +# # @TEST-EXEC: $SCRIPTS/wait-for-file zeek/next1 10 || (btest-bg-wait -k 1 && false) # @TEST-EXEC: rm testdir/bye # @TEST-EXEC: touch testdir/newone