]> Savannah Git Hosting - gnulib.git/commit
test-strftime: test for Solaris bug
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 25 Jul 2015 22:20:57 +0000 (15:20 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 26 Jul 2015 01:20:10 +0000 (18:20 -0700)
commitc1340b3d346b6a76f75f59828f4d73400c56bc85
tree972da398d2f3781ab1d2044a9982ef13d8446392
parent5ed44b374cad7ce32c828d49b37f2a48925840de
test-strftime: test for Solaris bug

* modules/strftime-tests (Depends-on): Add strerror.
* tests/test-strftime.c: Include <errno.h>.
(posixtm_test): New function, containing the old 'main'.
(struct tzalloc_test, struct localtime_rz_test): New types.
(TZ, LT): New static vars.
(tzalloc_test): New function.
(main): Rewrite in terms of posixtm_test and tzalloc_test.
ChangeLog
modules/strftime-tests
tests/test-strftime.c