commit | c044d3afebf50bde38bae1b0b86e3ac1d64a7616 | [log] [tgz] |
---|---|---|
author | Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> | Sat May 20 01:35:47 2023 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Sat May 20 01:35:47 2023 +0000 |
tree | c20f76b2f90b322b0c9810785b5be84e8995f4a0 | |
parent | e98bf160eb644bf5075e3086259a1b46fea00684 [diff] | |
parent | f52b2165cb5bb02d5779998371caba4b2df3134d [diff] |
Merge "time.mktime_EOVERFLOW: set an explicit timezone."
diff --git a/tests/time_test.cpp b/tests/time_test.cpp index d16600c..f89fa9a 100644 --- a/tests/time_test.cpp +++ b/tests/time_test.cpp
@@ -168,6 +168,8 @@ } TEST(time, mktime_EOVERFLOW) { + setenv("TZ", "UTC", 1); + struct tm t; memset(&t, 0, sizeof(tm));