CVS commit: src/tests/lib/libutil

2020-10-19 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon Oct 19 15:06:49 UTC 2020 Modified Files: src/tests/lib/libutil: t_parsedate.c Log Message: Adapt for change to parsedate() which now follows POSIX and altered the dividing line between 21st and 20th century conversions from

CVS commit: src/tests/lib/libutil

2019-12-08 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Dec 8 17:37:16 UTC 2019 Modified Files: src/tests/lib/libutil: t_snprintb.c Log Message: Adjust tests for 0 hex values printing 0 instead of 0x0 To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8

CVS commit: src/tests/lib/libutil

2019-12-06 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Dec 6 19:28:11 UTC 2019 Modified Files: src/tests/lib/libutil: t_snprintb.c Log Message: Fix broken tests in big endian machines. Internally field values are stored as uint64_t/uintmax_t so printing them with %d on big

CVS commit: src/tests/lib/libutil

2017-10-14 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Sat Oct 14 18:41:44 UTC 2017 Modified Files: src/tests/lib/libutil: t_snprintb.c Log Message: add test case for new format 'f' and 'F' To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/tests/lib/libutil/t_snprintb.c

CVS commit: src/tests/lib/libutil

2017-03-21 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed Mar 22 05:35:33 UTC 2017 Modified Files: src/tests/lib/libutil: t_parsedate.c Log Message: Fix typo in a comment. To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/tests/lib/libutil/t_parsedate.c Please note

CVS commit: src/tests/lib/libutil

2017-03-21 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed Mar 22 01:50:22 UTC 2017 Modified Files: src/tests/lib/libutil: t_parsedate.c Log Message: Add tests for "12 noon", "12 midnight". To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29

CVS commit: src/tests/lib/libutil

2017-03-21 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed Mar 22 01:00:19 UTC 2017 Modified Files: src/tests/lib/libutil: t_parsedate.c Log Message: Since PR lib/52101 is now fixed, the tests for its bug should no longer fail. To generate a diff of this commit: cvs rdiff -u -r1.27

CVS commit: src/tests/lib/libutil

2017-03-21 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Mar 21 21:42:18 UTC 2017 Modified Files: src/tests/lib/libutil: t_parsedate.c Log Message: Fix a typo - it doesn't matter now, as the test fails anyway, but it will matter when parsedate is fixed and the test is supposed to

CVS commit: src/tests/lib/libutil

2017-03-21 Thread Robert Elz
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

CVS commit: src/tests/lib/libutil

2016-06-22 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed Jun 22 15:01:38 UTC 2016 Modified Files: src/tests/lib/libutil: t_parsedate.c Log Message: Remove tests of "dawn" and "sunset" in preparation for removing them from parsedate() itself sometime soon. To generate a diff of this

CVS commit: src/tests/lib/libutil

2016-05-04 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu May 5 02:12:21 UTC 2016 Modified Files: src/tests/lib/libutil: t_parsedate.c Log Message: Make the 9 months ago test, when reverting from late November to the end of Feburary just a little less bogus (stupid cut & paste error).

CVS commit: src/tests/lib/libutil

2016-05-04 Thread Andreas Gustafsson
Module Name:src Committed By: gson Date: Wed May 4 18:36:46 UTC 2016 Modified Files: src/tests/lib/libutil: t_parsedate.c Log Message: Reduce the step size, exposing another bug. To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23

CVS commit: src/tests/lib/libutil

2016-05-03 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue May 3 18:18:15 UTC 2016 Modified Files: src/tests/lib/libutil: t_parsedate.c Log Message: PR bin/50574 - make the tests conform to what parsedate() actually does, so they should no longer fail. This needs parsedate.y 1.28 in

CVS commit: src/tests/lib/libutil

2016-05-03 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue May 3 18:10:38 UTC 2016 Modified Files: src/tests/lib/libutil: t_parsedate.c Log Message: Whitespace. No changes. OK christos@ To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21

CVS commit: src/tests/lib/libutil

2016-05-01 Thread Andreas Gustafsson
Module Name:src Committed By: gson Date: Sun May 1 16:39:47 UTC 2016 Modified Files: src/tests/lib/libutil: t_parsedate.c Log Message: In the "relative" test case, run the tests multiple times relative to various dates over a span of a few decades, instead of just once

CVS commit: src/tests/lib/libutil

2015-12-31 Thread David A. Holland
Module Name:src Committed By: dholland Date: Thu Dec 31 10:10:15 UTC 2015 Modified Files: src/tests/lib/libutil: t_parsedate.c Log Message: Fix the "Tuesday midnight" test to match what parsedate.y does; in particular it doesn't add a week if evaluating that on Wednesday.

CVS commit: src/tests/lib/libutil

2015-12-31 Thread David A. Holland
Module Name:src Committed By: dholland Date: Thu Dec 31 10:56:13 UTC 2015 Modified Files: src/tests/lib/libutil: t_parsedate.c Log Message: Fix REL_CHECK error output; it had "expected" and "obtained" swapped. While here, improve the general legibility of the printout.

CVS commit: src/tests/lib/libutil

2015-12-08 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Dec 8 12:41:28 UTC 2015 Modified Files: src/tests/lib/libutil: t_parsedate.c Log Message: Kill one more REL_DEBUG, from kre To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16

CVS commit: src/tests/lib/libutil

2015-12-07 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Dec 7 20:52:46 UTC 2015 Modified Files: src/tests/lib/libutil: t_parsedate.c Log Message: new tests from kre To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/tests/lib/libutil/t_parsedate.c Please note

CVS commit: src/tests/lib/libutil

2015-12-07 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Dec 7 20:57:39 UTC 2015 Modified Files: src/tests/lib/libutil: t_parsedate.c Log Message: there is no REL_DEBUG To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/tests/lib/libutil/t_parsedate.c Please

CVS commit: src/tests/lib/libutil

2014-10-08 Thread Alan Barrett
Module Name:src Committed By: apb Date: Wed Oct 8 13:26:47 UTC 2014 Modified Files: src/tests/lib/libutil: t_parsedate.c Log Message: Add tests for PR lib/47916. Some of these fail. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11

CVS commit: src/tests/lib/libutil

2014-10-08 Thread Alan Barrett
Module Name:src Committed By: apb Date: Wed Oct 8 17:21:40 UTC 2014 Modified Files: src/tests/lib/libutil: t_parsedate.c Log Message: When tests fail, print all args, notjust the date string. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12

CVS commit: src/tests/lib/libutil

2014-10-08 Thread Alan Barrett
Module Name:src Committed By: apb Date: Wed Oct 8 17:23:03 UTC 2014 Modified Files: src/tests/lib/libutil: t_parsedate.c Log Message: 2013-07-09 was in British Summer TIme, so use tzoff=-60, not 0. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13

CVS commit: src/tests/lib/libutil

2014-10-07 Thread Alan Barrett
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

CVS commit: src/tests/lib/libutil

2014-10-07 Thread Alan Barrett
Module Name:src Committed By: apb Date: Tue Oct 7 19:26:31 UTC 2014 Modified Files: src/tests/lib/libutil: t_parsedate.c Log Message: Add comments for some non-obvious cases. Also add a test with year=70, which is documented to be treated as 1970. To generate a diff of

CVS commit: src/tests/lib/libutil

2014-10-07 Thread Alan Barrett
Module Name:src Committed By: apb Date: Tue Oct 7 22:33:52 UTC 2014 Modified Files: src/tests/lib/libutil: t_parsedate.c Log Message: Adapt to a recent change in parsedate(). 9/10/69 still refers to 2069, and 9/10/70 still refers to 1970, but 69-09-10 and 70-09-10 now

CVS commit: src/tests/lib/libutil

2014-06-06 Thread Mateusz Kocielski
Module Name:src Committed By: shm Date: Fri Jun 6 06:59:21 UTC 2014 Modified Files: src/tests/lib/libutil: t_snprintb.c Log Message: PR/48517 testcase provided by Felix Deichmann To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4

CVS commit: src/tests/lib/libutil

2013-08-07 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Thu Aug 8 04:52:10 UTC 2013 Modified Files: src/tests/lib/libutil: t_snprintb.c Log Message: Add a new test case for snprintb_m(3) to catch previous boundary bug. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

CVS commit: src/tests/lib/libutil

2013-08-07 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Thu Aug 8 05:10:07 UTC 2013 Modified Files: src/tests/lib/libutil: t_snprintb.c Log Message: Arghhh! Typo. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/tests/lib/libutil/t_snprintb.c Please note that

CVS commit: src/tests/lib/libutil

2013-01-19 Thread Alan Barrett
Module Name:src Committed By: apb Date: Sat Jan 19 14:03:08 UTC 2013 Modified Files: src/tests/lib/libutil: t_parsedate.c Log Message: * Test that parsedate(@0, ...) returns (time_t)0 regardless of timezone. * Test that parsedate(@-1, NULL, NULL) returns (time_t)-1

CVS commit: src/tests/lib/libutil

2013-01-19 Thread Alan Barrett
Module Name:src Committed By: apb Date: Sat Jan 19 15:21:43 UTC 2013 Modified Files: src/tests/lib/libutil: t_parsedate.c Log Message: Test parsedate(@-2,...) (should return -2 and not set errno); and parsedate(@junk,...) (should return -1 and set errno). We were already

CVS commit: src/tests/lib/libutil

2012-03-17 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Mar 17 21:33:13 UTC 2012 Modified Files: src/tests/lib/libutil: t_parsedate.c Log Message: mention the PR# in the description like everyone else. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4

CVS commit: src/tests/lib/libutil

2011-12-17 Thread Alan Barrett
Module Name:src Committed By: apb Date: Sat Dec 17 19:07:34 UTC 2011 Modified Files: src/tests/lib/libutil: t_parsedate.c Log Message: Add some tests for dates several centures into the past and future. These currently fail, but I'll fix that soon. To generate a diff of

CVS commit: src/tests/lib/libutil

2011-03-30 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Wed Mar 30 17:03:02 UTC 2011 Modified Files: src/tests/lib/libutil: t_efun.c Log Message: Add missing __RCSID(3), again. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/tests/lib/libutil/t_efun.c Please note

CVS commit: src/tests/lib/libutil

2011-03-23 Thread Julio Merino
Module Name:src Committed By: jmmv Date: Wed Mar 23 09:13:55 UTC 2011 Modified Files: src/tests/lib/libutil: t_pidfile.c Log Message: Clean up some late-night braindeadness: - Make the pidfile name generation functions return their value as a return value, not an

CVS commit: src/tests/lib/libutil

2011-03-22 Thread Julio Merino
Module Name:src Committed By: jmmv Date: Tue Mar 22 23:07:32 UTC 2011 Modified Files: src/tests/lib/libutil: Makefile Added Files: src/tests/lib/libutil: t_pidfile.c Log Message: Add some tests for pidfile(3). I want to touch this module to attempt a feature

CVS commit: src/tests/lib/libutil

2010-12-20 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Dec 21 00:24:14 UTC 2010 Modified Files: src/tests/lib/libutil: t_parsedate.c Log Message: We don't expect tests to fail anymore. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2