You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by "Roy T. Fielding" <fi...@ebuilt.com> on 2001/05/31 09:13:40 UTC

Re: cvs commit: apr-util/test testdate.c

On Thu, May 31, 2001 at 05:14:42AM -0000, jerenkrantz@apache.org wrote:
> jerenkrantz    01/05/30 22:14:41
> 
>   Modified:    test     testdate.c
>   Log:
>   APRized version of testdate.  This is from my patch from a long
>   time ago posted to new-httpd.  There seems to be some subtle bugs that
>   need to be tracked down.  My guess is the bug might be within testdate.
>   
>   % ./testdate | grep "^No "
>   No  2146998227000000 0 Wed, 13 Jan 2038 12:23:47 GMT
>   No  2146487676000000 0 Thu, 07 Jan 2038 14:34:36 GMT
>   No  2146651317000000 0 Sat, 09 Jan 2038 12:01:57 GMT

testdate declares any date in 2038 to be invalid for testing reasons.
It was a feature.  There is also lots of code that I would comment/uncomment
depending on the type of test.  Never had the time to make it polished.

....Roy