tests: Do not use archiver_rotation_format_func as postprocessor

This test triggered ubsan by putting a function with the wrong type
as a post-processor into the .shadow file. Don't do that.

Likely Zeek should provide a better error message, but hand-crafting
.shadow files isn't what is normally done and this is to fix the
master build for now.
This commit is contained in:
Arne Welzel 2023-06-13 19:17:28 +02:00
parent f53aefdd5b
commit e1a81c528c

View file

@ -1,11 +1,11 @@
# @TEST-DOC: Ensure that left-over log rotation tags the logger name on as well.
# @TEST-EXEC: echo ".log" >> .shadow.conn.log
# @TEST-EXEC: echo "archiver_rotation_format_func" >> .shadow.conn.log
# @TEST-EXEC: echo "" >> .shadow.conn.log
# @TEST-EXEC: echo "leftover conn log" > conn.log
# @TEST-EXEC: echo ".log" >> .shadow.dns.log
# @TEST-EXEC: echo "archiver_rotation_format_func" >> .shadow.dns.log
# @TEST-EXEC: echo "" >> .shadow.dns.log
# @TEST-EXEC: echo "leftover dns log" > dns.log
# Start Zeek as cluster node logger-2.