10 {"TZ=MST", 832935315},
12 {"TZ=:UTC", 832910115},
13 {"TZ=UTC", 832910115},
14 {"TZ=UTC0", 832910115}
19 main(int argc
, char ** argv
)
26 memset (&tm
, 0, sizeof (tm
));
28 tm
.tm_year
= 96; /* years since 1900 */
35 for (i
= 0; i
< sizeof (tests
) / sizeof (tests
[0]); ++i
)
37 putenv (tests
[i
].env
);
40 if (t
!= tests
[i
].expected
)
42 printf ("%s: flunked test %d (expected %lu, got %lu)\n",
43 argv
[0], i
, (long) tests
[i
].expected
, (long) t
);
54 printf ("%d errors.\n", errors
);