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

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

Change-Id: I3c942bf730fd8c25cbd3bbda51de15d9fd1ebad0
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));