zeek/testing
Arne Welzel e85a12f286 btest/files/x509/files: Sort analyzers in baseline
This test is very sensitive to new enum values that perturb the final
order of the output. Listing the commits that modify that file in the
past clearly shows changes to the baseline happen when a new component
with an enum value is introduced.

    40f04d4ccf broker: Add WebSocketShim backend
    51836d08ae protocol: Add StreamEvent analyzer
    fdde1e9841 cluster/serializer: Add binary-serialization-format
    6fb73aa9da broker: Add shim plugin adding a backend component
    85ca59484b postgresql: Initial parser implementation
    efc2681152 WebSocket: Introduce new analyzer and log
    ...

That's just distraction. Point fix the test to sort the analyzers before
writing the final log line.

I've previously attempted this in a more complete fashion in PR #3365
(issue #3364), but seems this direct fix might just make more sense.

(cherry picked from commit 2f6c31df89)
2025-07-02 18:45:47 +02:00
..
benchmark/broker
btest btest/files/x509/files: Sort analyzers in baseline 2025-07-02 18:45:47 +02:00
builtin-plugins Reformat Zeek in Spicy style 2023-10-30 09:40:55 +01:00
coverage Merge remote-tracking branch 'origin/topic/awelzel/fix-coveralls-no-token' 2024-06-26 13:16:38 +02:00
external Merge remote-tracking branch 'origin/topic/awelzel/4035-btest-openssl-sha1-certs' 2025-05-19 11:18:20 -07:00
scripts Merge remote-tracking branch 'upstream/topic/awelzel/3774-skip-script-args-test-under-tsan' 2024-11-14 19:07:51 -07:00
.gitignore
CMakeLists.txt Integrate the Spicy plugin into Zeek proper. 2023-05-16 10:17:45 +02:00
Makefile
README

This directory contains suites for testing for Zeek's correct
operation:

    btest/
        An ever-growing set of small unit tests testing Zeek's
        functionality.

    external/
        A framework for downloading additional test sets that run more
        complex Zeek configuration on larger traces files. Due to their
        size, these are not included directly. See the README for more
        information. 

    scripts/
        Helpers scripts used by some tests.