[erlang-questions] Issues with running smoke test after compiling OTP 17.3 from source

Magnus Henoch <>
Tue Nov 11 18:36:28 CET 2014

Looking at erts/emulator/test/time_SUITE.erl, it seems like this test
will only work correctly in Central European or South African time
zones.  It checks the output of "date +%Z", and if it starts with
"SAST", the test assumes that the time zone is UTC+2 all year; otherwise
it assumes UTC+1 in the winter and UTC+2 in the summer (northern

You can change the time zone that the test assumes by modifying the
-define(timezone, 1) and -define(dst_timezone, 2) lines in the
time_SUITE.erl file.


More information about the erlang-questions mailing list