time: ensure failing strptime() tests are reported correctly
Commit Message
From: Vincent Bernat <vincent@bernat.im>
---
ChangeLog | 6 ++++++
time/tst-strptime2.c | 5 +----
time/tst-strptime3.c | 5 +----
3 files changed, 8 insertions(+), 8 deletions(-)
Comments
@@ -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>
Fix aio_error thread-safety.
@@ -52,10 +52,7 @@ do_test (void)
}
}
- if (result == 0)
- puts ("all OK");
-
- return 0;
+ return result;
}
#define TEST_FUNCTION do_test ()
@@ -48,10 +48,7 @@ do_test (void)
result = 1;
}
- if (result == 0)
- puts ("all OK");
-
- return 0;
+ return result;
}
#define TEST_FUNCTION do_test ()