time: ensure failing strptime() tests are reported correctly
Commit Message
From: Vincent Bernat <vincent@bernat.im>
---
time/tst-strptime2.c | 5 +----
time/tst-strptime3.c | 5 +----
2 files changed, 2 insertions(+), 8 deletions(-)
Comments
patch looks fine, but please write a ChangeLog entry. i'll push this once
you've done so.
-mike
@@ -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 ()