Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
time: ensure failing strptime() tests are reported correctly
  • Loading branch information
Vincent Bernat authored and Mike Frysinger committed Mar 6, 2015
1 parent 1cdf2ea commit 5df56c7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
6 changes: 6 additions & 0 deletions ChangeLog
@@ -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.
Expand Down
5 changes: 1 addition & 4 deletions time/tst-strptime2.c
Expand Up @@ -52,10 +52,7 @@ do_test (void)
}
}

if (result == 0)
puts ("all OK");

return 0;
return result;
}

#define TEST_FUNCTION do_test ()
Expand Down
5 changes: 1 addition & 4 deletions time/tst-strptime3.c
Expand Up @@ -48,10 +48,7 @@ do_test (void)
result = 1;
}

if (result == 0)
puts ("all OK");

return 0;
return result;
}

#define TEST_FUNCTION do_test ()
Expand Down

0 comments on commit 5df56c7

Please sign in to comment.