diff options
author | Vincent Bernat <vincent@bernat.im> | 2015-03-06 12:01:52 +0100 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2015-03-06 06:06:26 -0500 |
commit | 5df56c7e3a236b39b3395e042015b541172f652b (patch) | |
tree | 437ace7b6ac2d2d243bfde09a93682ce73c925f5 /time/tst-strptime2.c | |
parent | 1cdf2ea1fa44bae7d400b602399e30d490173bf3 (diff) | |
download | glibc-5df56c7e3a236b39b3395e042015b541172f652b.tar.gz glibc-5df56c7e3a236b39b3395e042015b541172f652b.tar.xz glibc-5df56c7e3a236b39b3395e042015b541172f652b.zip |
time: ensure failing strptime() tests are reported correctly
Diffstat (limited to 'time/tst-strptime2.c')
-rw-r--r-- | time/tst-strptime2.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/time/tst-strptime2.c b/time/tst-strptime2.c index bcd6cc8be9..a08e6d7cb7 100644 --- a/time/tst-strptime2.c +++ b/time/tst-strptime2.c @@ -52,10 +52,7 @@ do_test (void) } } - if (result == 0) - puts ("all OK"); - - return 0; + return result; } #define TEST_FUNCTION do_test () |