Merge "time.mktime_EOVERFLOW: set an explicit timezone." into android14-tests-dev am: d1afadc227 am: af0a402748

Original change: https://android-review.googlesource.com/c/platform/bionic/+/2899271

Change-Id: I8d609c0c5d1fcc75c504a2dcd2dd1bd85f4cb0c5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/tests/time_test.cpp b/tests/time_test.cpp
index f0ad937..5f802aa 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));