projects
/
external
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a66c58
)
Reformat.
author
Andreas Jaeger
<aj@suse.de>
Sun, 20 Aug 2000 10:32:05 +0000
(10:32 +0000)
committer
Andreas Jaeger
<aj@suse.de>
Sun, 20 Aug 2000 10:32:05 +0000
(10:32 +0000)
time/tst-getdate.c
patch
|
blob
|
history
diff --git
a/time/tst-getdate.c
b/time/tst-getdate.c
index
8fdfeb6
..
d07fb3d
100644
(file)
--- a/
time/tst-getdate.c
+++ b/
time/tst-getdate.c
@@
-77,12
+77,13
@@
main (void)
int errors = 0;
int i;
struct tm *tm;
-
+
setenv ("TZ", "Universal", 1);
for (i = 0; i < sizeof (tests) / sizeof (tests[0]); ++i)
{
tm = getdate (tests[i].str);
+
if (getdate_err != tests[i].err)
{
printf ("Failure for getdate (\"%s\"):\n", tests[i].str);
@@
-108,9
+109,8
@@
main (void)
tests[i].tm.tm_hour, tests[i].tm.tm_min, tests[i].tm.tm_sec);
++errors;
}
-
-
}
+
if (!errors)
printf ("No errors found.\n");
return errors != 0;