remove test for non-standard behavior

This commit is contained in:
rumbledethumps
2025-12-02 22:08:53 -08:00
parent a6a91349bc
commit dce4ed65d9

View File

@@ -70,12 +70,6 @@ int main (void)
fails++; fails++;
} }
tm = localtime(NULL);
if (tm != NULL) {
printf("localtime should return NULL with a NULL parameter\n");
fails++;
}
/* Verify conversion both ways */ /* Verify conversion both ways */
for (i = 0; ; i++) { for (i = 0; ; i++) {
time_t t = data[i].t; 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); printf("0x%lx: gmtime: unexpected result: expected %s, got %s\n", t, data[i].gmt, str);
fails++; fails++;
} }
_tz.timezone = 0; _tz.timezone = 0;
tm = localtime(&t); tm = localtime(&t);
str = asctime(tm); str = asctime(tm);