ci/test.sh: Run doctest with TZ=UTC

Broker's JSON serialization is TZ dependent (which seems a bug). For now
do the same as we do in btest.cfg and run doctests with TZ set to UTC.

Reported in zeek/broker#434.
This commit is contained in:
Arne Welzel 2024-11-13 21:44:05 +01:00
parent fc12be1f17
commit 3de52c27e0

View file

@ -48,7 +48,7 @@ function run_unit_tests {
banner "Running unit tests" banner "Running unit tests"
pushd build pushd build
(. ./zeek-path-dev.sh && zeek --test --no-skip) || result=1 (. ./zeek-path-dev.sh && TZ=UTC zeek --test --no-skip) || result=1
popd popd
return 0 return 0
} }