From dce4ed65d9e3ba7a9f83420204469fc64e7765b5 Mon Sep 17 00:00:00 2001 From: rumbledethumps <16963588+rumbledethumps@users.noreply.github.com> Date: Tue, 2 Dec 2025 22:08:53 -0800 Subject: [PATCH] remove test for non-standard behavior --- test/val/lib_common_gmtime_localtime.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/test/val/lib_common_gmtime_localtime.c b/test/val/lib_common_gmtime_localtime.c index f0d9a8332..1e7f9a7b1 100644 --- a/test/val/lib_common_gmtime_localtime.c +++ b/test/val/lib_common_gmtime_localtime.c @@ -70,12 +70,6 @@ int main (void) fails++; } - tm = localtime(NULL); - if (tm != NULL) { - printf("localtime should return NULL with a NULL parameter\n"); - fails++; - } - /* Verify conversion both ways */ for (i = 0; ; i++) { time_t t = data[i].t; @@ -86,7 +80,7 @@ int main (void) printf("0x%lx: gmtime: unexpected result: expected %s, got %s\n", t, data[i].gmt, str); fails++; } - + _tz.timezone = 0; tm = localtime(&t); str = asctime(tm);