NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/52101 CVS commit: src/tests/lib/libutil



The following reply was made to PR lib/52101; it has been noted by GNATS.

From: "Robert Elz" <kre%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/52101 CVS commit: src/tests/lib/libutil
Date: Tue, 21 Mar 2017 20:06:28 +0000

 Module Name:	src
 Committed By:	kre
 Date:		Tue Mar 21 20:06:27 UTC 2017
 
 Modified Files:
 	src/tests/lib/libutil: t_parsedate.c
 
 Log Message:
 PR lib/52101
 
 Add 6 extra tests for the 12am/12pm bug - all currently expected to fail.
 (That is, 6 subtests of the "times" test will fail, all new ones)>
 
 While here, when parsedate() fails (returns -1) avoid converting that
 failure value (-1) to a struct tm (1969-12-31T23:59:59 UTC) and then
 comparing the values with those expected by the test, and complaining
 about all of those (where ANY was not permitted) that don't match...
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.25 -r1.26 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.
 


Home | Main Index | Thread Index | Old Index