From 3de52c27e01767c289bb07773392a8608525fbad Mon Sep 17 00:00:00 2001 From: Arne Welzel Date: Wed, 13 Nov 2024 21:44:05 +0100 Subject: [PATCH] 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. --- ci/test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/test.sh b/ci/test.sh index 1d5da9e2a7..ff3935579a 100755 --- a/ci/test.sh +++ b/ci/test.sh @@ -48,7 +48,7 @@ function run_unit_tests { banner "Running unit tests" 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 return 0 }