10 {"TZ=MST", 832935315},
12 {"TZ=:UTC", 832910115},
13 {"TZ=UTC", 832910115},
14 /* PROBLEM ahead. I fear the tzset code is somehow broken. */
15 /* {"TZ=UTC0", 832910115}*/
20 main(int argc, char ** argv)
27 memset (&tm, 0, sizeof (tm));
29 tm.tm_year = 96; /* years since 1900 */
36 for (i = 0; i < sizeof (tests) / sizeof (tests[0]); ++i)
38 putenv (tests[i].env);
41 if (t != tests[i].expected)
43 printf ("%s: flunked test %u (expected %lu, got %lu)\n",
44 argv[0], i, (long) tests[i].expected, (long) t);
55 printf ("%d errors.\n", errors);