CVS commit: src/tests/lib/libutil

2024-04-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Apr 1 09:15:51 UTC 2024 Modified Files: src/tests/lib/libutil: t_snprintb.c Log Message: tests/snprintb_m: test null-terminated output in error case While here, clean up the buffer handling for the visualized array content

CVS commit: src/tests/lib/libutil

2024-04-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Apr 1 09:15:51 UTC 2024 Modified Files: src/tests/lib/libutil: t_snprintb.c Log Message: tests/snprintb_m: test null-terminated output in error case While here, clean up the buffer handling for the visualized array content

CVS commit: src/tests/lib/libutil

2024-02-24 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Feb 24 13:00:00 UTC 2024 Modified Files: src/tests/lib/libutil: t_snprintb.c Log Message: tests/snprintb: clean up tests Always write the value to be formatted in hexadecimal, to make it easily distinguishable from the

CVS commit: src/tests/lib/libutil

2024-02-24 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Feb 24 13:00:00 UTC 2024 Modified Files: src/tests/lib/libutil: t_snprintb.c Log Message: tests/snprintb: clean up tests Always write the value to be formatted in hexadecimal, to make it easily distinguishable from the

CVS commit: src/tests/lib/libutil

2024-02-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Feb 20 21:45:36 UTC 2024 Modified Files: src/tests/lib/libutil: t_snprintb.c Log Message: tests/snprintb: test '=' and '*' directives that can never match To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25

CVS commit: src/tests/lib/libutil

2024-02-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Feb 20 21:45:36 UTC 2024 Modified Files: src/tests/lib/libutil: t_snprintb.c Log Message: tests/snprintb: test '=' and '*' directives that can never match To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25

CVS commit: src/tests/lib/libutil

2024-02-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Feb 20 19:49:10 UTC 2024 Modified Files: src/tests/lib/libutil: t_snprintb.c Log Message: tests/snprintb: fix out-of-bounds memory read (since 2024-02-16) Before t_snprintb.c 1.20, the buffer size was required to be greater

CVS commit: src/tests/lib/libutil

2024-02-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Feb 20 19:49:10 UTC 2024 Modified Files: src/tests/lib/libutil: t_snprintb.c Log Message: tests/snprintb: fix out-of-bounds memory read (since 2024-02-16) Before t_snprintb.c 1.20, the buffer size was required to be greater

CVS commit: src/tests/lib/libutil

2024-02-19 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Feb 19 23:22:03 UTC 2024 Modified Files: src/tests/lib/libutil: t_snprintb.c Log Message: tests/snprintb: add more tests, especially for snprintb_m To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21

CVS commit: src/tests/lib/libutil

2024-02-19 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Feb 19 23:22:03 UTC 2024 Modified Files: src/tests/lib/libutil: t_snprintb.c Log Message: tests/snprintb: add more tests, especially for snprintb_m To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21

CVS commit: src/tests/lib/libutil

2024-02-16 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Feb 16 18:13:47 UTC 2024 Modified Files: src/tests/lib/libutil: t_snprintb.c Log Message: tests/snprintb: fix test for 8-bit field value The previous version tested the behavior on a platform with signed 'char' before the

CVS commit: src/tests/lib/libutil

2024-02-16 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Feb 16 18:13:47 UTC 2024 Modified Files: src/tests/lib/libutil: t_snprintb.c Log Message: tests/snprintb: fix test for 8-bit field value The previous version tested the behavior on a platform with signed 'char' before the

CVS commit: src/tests/lib/libutil

2024-02-15 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Feb 16 01:19:53 UTC 2024 Modified Files: src/tests/lib/libutil: t_snprintb.c Log Message: tests/snprintb: clean up existing tests, add more tests Due to the check that any bytes beyond the expected output must be unmodified,

CVS commit: src/tests/lib/libutil

2024-02-15 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Feb 16 01:19:53 UTC 2024 Modified Files: src/tests/lib/libutil: t_snprintb.c Log Message: tests/snprintb: clean up existing tests, add more tests Due to the check that any bytes beyond the expected output must be unmodified,

CVS commit: src/tests/lib/libutil

2024-02-14 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Feb 14 20:51:17 UTC 2024 Modified Files: src/tests/lib/libutil: t_snprintb.c Log Message: tests/libutil/snprintb_m: add tests for small line length To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13

CVS commit: src/tests/lib/libutil

2024-02-14 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Feb 14 20:51:17 UTC 2024 Modified Files: src/tests/lib/libutil: t_snprintb.c Log Message: tests/libutil/snprintb_m: add tests for small line length To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13

CVS commit: src/tests/lib/libutil

2024-01-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jan 27 21:42:29 UTC 2024 Modified Files: src/tests/lib/libutil: t_snprintb.c Log Message: tests/libutil/snprintb: remove redundant integer constant suffixes I added these because lint told me so. Lint was wrong though, as it

CVS commit: src/tests/lib/libutil

2024-01-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jan 27 21:42:29 UTC 2024 Modified Files: src/tests/lib/libutil: t_snprintb.c Log Message: tests/libutil/snprintb: remove redundant integer constant suffixes I added these because lint told me so. Lint was wrong though, as it

CVS commit: src/tests/lib/libutil

2024-01-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jan 27 10:32:03 UTC 2024 Modified Files: src/tests/lib/libutil: t_snprintb.c Log Message: tests/libutil/snprintb: fix test for 32-bit platforms To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11

CVS commit: src/tests/lib/libutil

2024-01-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jan 27 10:32:03 UTC 2024 Modified Files: src/tests/lib/libutil: t_snprintb.c Log Message: tests/libutil/snprintb: fix test for 32-bit platforms To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11

CVS commit: src/tests/lib/libutil

2024-01-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jan 27 08:54:15 UTC 2024 Modified Files: src/tests/lib/libutil: t_snprintb.c Log Message: tests/libutil/snprintb: add more tests Test all number bases (octal, decimal, hexadecimal), in both old-style and new-style formats,

CVS commit: src/tests/lib/libutil

2024-01-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jan 27 08:54:15 UTC 2024 Modified Files: src/tests/lib/libutil: t_snprintb.c Log Message: tests/libutil/snprintb: add more tests Test all number bases (octal, decimal, hexadecimal), in both old-style and new-style formats,

CVS commit: src/tests/lib/libutil

2024-01-25 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Jan 25 18:13:14 UTC 2024 Modified Files: src/tests/lib/libutil: t_snprintb.c Log Message: tests/libutil/snprintb: clean up and extend tests In case of a failure, print the details of the test case, including file and line

CVS commit: src/tests/lib/libutil

2024-01-25 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Jan 25 18:13:14 UTC 2024 Modified Files: src/tests/lib/libutil: t_snprintb.c Log Message: tests/libutil/snprintb: clean up and extend tests In case of a failure, print the details of the test case, including file and line

CVS commit: src/tests/lib/libutil

2022-11-07 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Mon Nov 7 08:34:31 UTC 2022 Modified Files: src/tests/lib/libutil: t_sockaddr_snprintf.c Log Message: Sync with if_dl.h rev. 1.31's change. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4

CVS commit: src/tests/lib/libutil

2022-11-07 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Mon Nov 7 08:34:31 UTC 2022 Modified Files: src/tests/lib/libutil: t_sockaddr_snprintf.c Log Message: Sync with if_dl.h rev. 1.31's change. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4

CVS commit: src/tests/lib/libutil

2022-10-27 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Oct 27 12:59:59 UTC 2022 Modified Files: src/tests/lib/libutil: t_sockaddr_snprintf.c Log Message: Revert for if_dl.h's change. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

CVS commit: src/tests/lib/libutil

2022-10-27 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Oct 27 12:59:59 UTC 2022 Modified Files: src/tests/lib/libutil: t_sockaddr_snprintf.c Log Message: Revert for if_dl.h's change. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

CVS commit: src/tests/lib/libutil

2022-10-24 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Mon Oct 24 13:42:55 UTC 2022 Modified Files: src/tests/lib/libutil: t_sockaddr_snprintf.c Log Message: Sync with if_dl.h rev. 1.29's change. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

CVS commit: src/tests/lib/libutil

2022-10-24 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Mon Oct 24 13:42:55 UTC 2022 Modified Files: src/tests/lib/libutil: t_sockaddr_snprintf.c Log Message: Sync with if_dl.h rev. 1.29's change. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

CVS commit: src/tests/lib/libutil

2022-05-02 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon May 2 19:57:50 UTC 2022 Modified Files: src/tests/lib/libutil: t_parsedate.c Log Message: explicitly set TZ=UTC so that we don't depend on the testing rig for it. To generate a diff of this commit: cvs rdiff -u -r1.32

CVS commit: src/tests/lib/libutil

2022-05-02 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon May 2 19:57:50 UTC 2022 Modified Files: src/tests/lib/libutil: t_parsedate.c Log Message: explicitly set TZ=UTC so that we don't depend on the testing rig for it. To generate a diff of this commit: cvs rdiff -u -r1.32

CVS commit: src/tests/lib/libutil

2022-04-23 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Apr 23 13:08:49 UTC 2022 Modified Files: src/tests/lib/libutil: t_parsedate.c Log Message: 1. add check for December in MM/DD/ 2. unsetenv("TZ") since tests assume UTC (all relative tests and one date test fail

CVS commit: src/tests/lib/libutil

2022-04-23 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Apr 23 13:08:49 UTC 2022 Modified Files: src/tests/lib/libutil: t_parsedate.c Log Message: 1. add check for December in MM/DD/ 2. unsetenv("TZ") since tests assume UTC (all relative tests and one date test fail

Re: CVS commit: src/tests/lib/libutil

2015-12-31 Thread Greg Troxel
"David A. Holland" writes: > Module Name: src > Committed By: dholland > Date: Thu Dec 31 10:18:00 UTC 2015 > > Modified Files: > src/tests/lib/libutil: t_parsedate.c > > Log Message: > When evaluated on a Sunday, "next Sunday" means 7 days in the future, >

Re: CVS commit: src/tests/lib/libutil

2015-12-31 Thread David Holland
On Thu, Dec 31, 2015 at 04:14:52PM -0500, Greg Troxel wrote: > > When evaluated on a Sunday, "next Sunday" means 7 days in the future, > > not 14. When evaluated on a Monday, it apparently means 13 days in the > > future. There's not exactly a spec for parsedate.y, so conform to the > >