Test: Use consistent timezone for tests

This commit is contained in:
Vicki Pfau 2020-08-15 16:25:42 -07:00
parent f00afe0758
commit 48bab99ad5
1 changed files with 1 additions and 0 deletions

View File

@ -1348,6 +1348,7 @@ void _log(struct mLogger* log, int category, enum mLogLevel level, const char* f
int main(int argc, char** argv) { int main(int argc, char** argv) {
ThreadLocalInitKey(&logStream); ThreadLocalInitKey(&logStream);
ThreadLocalSetKey(logStream, NULL); ThreadLocalSetKey(logStream, NULL);
putenv("TZ=UTC");
int status = 0; int status = 0;
if (!parseCInemaArgs(argc, argv)) { if (!parseCInemaArgs(argc, argv)) {