Module Name: src Committed By: apb Date: Tue Oct 7 19:20:29 UTC 2014
Modified Files: src/tests/lib/libutil: t_parsedate.c Log Message: Add local parsecheck() function and use it for several tests. Instead of just checking that parsedate(3) does not return an error, also pass the result through localtime_r(3) or gmtime_r(3) and check the year/month/day/hour/minute/second fields in the resulting struct tm. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/tests/lib/libutil/t_parsedate.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.