time: ensure failing strptime() tests are reported correctly

This commit is contained in:
Vincent Bernat 2015-03-06 12:01:52 +01:00 committed by Mike Frysinger
parent 1cdf2ea1fa
commit 5df56c7e3a
3 changed files with 8 additions and 8 deletions

View File

@ -1,3 +1,9 @@
2015-03-06 Vincent Bernat <vincent@bernat.im>
* time/tst-strptime2.c (do_test): Ensure failing tests are
reported correctly.
* time/tst-strptime3.c (do_test): Likewise.
2015-03-06 Samuel Thibault <samuel.thibault@inria.fr> 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
Fix aio_error thread-safety. Fix aio_error thread-safety.

View File

@ -52,10 +52,7 @@ do_test (void)
} }
} }
if (result == 0) return result;
puts ("all OK");
return 0;
} }
#define TEST_FUNCTION do_test () #define TEST_FUNCTION do_test ()

View File

@ -48,10 +48,7 @@ do_test (void)
result = 1; result = 1;
} }
if (result == 0) return result;
puts ("all OK");
return 0;
} }
#define TEST_FUNCTION do_test () #define TEST_FUNCTION do_test ()