Remove unneeded @loads from base/misc/version.zeek

This module is loaded by the telemetry framework, which we're now loading via
the cluster framework, i.e. also in bare mode. The resulting additional
thread (for creating reporter.log) trips up a number of btest baselines.

version.zeek doesn't use any of the string helper functions.
This commit is contained in:
Christian Kreibich 2024-11-19 12:11:39 -08:00
parent 46a11ec37d
commit d260a5b7a9
2 changed files with 3 additions and 6 deletions

View file

@ -2,9 +2,6 @@
##! The most convenient way to access this are the Version::number ##! The most convenient way to access this are the Version::number
##! and Version::info constants. ##! and Version::info constants.
@load base/frameworks/reporter
@load base/utils/strings
module Version; module Version;
export { export {

View file

@ -1,4 +1,4 @@
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63. ### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.
error in <...>/version.zeek, line 63: Version string 1 cannot be parsed error in <...>/version.zeek, line 60: Version string 1 cannot be parsed
error in <...>/version.zeek, line 63: Version string 1.12-beta-drunk-too-much cannot be parsed error in <...>/version.zeek, line 60: Version string 1.12-beta-drunk-too-much cannot be parsed
error in <...>/version.zeek, line 63: Version string JustARandomString cannot be parsed error in <...>/version.zeek, line 60: Version string JustARandomString cannot be parsed