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
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
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
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
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
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
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
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
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
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
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
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
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,
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,
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
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
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
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
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
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
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,
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,
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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).
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).
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
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
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
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
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
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
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
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
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.
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.
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,
not 14. When evaluated on a Monday, it apparently means 13
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.
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.
"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,
>
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
> >
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
1 - 100 of 110 matches
Mail list logo