aboutsummaryrefslogtreecommitdiffstats
path: root/tests/date (follow)
AgeCommit message (Collapse)AuthorFilesLines
2025-11-01tests: date: avoid test failure on NetBSDCollin Funk1-1/+7
* tests/date/date-tz.sh: Allow date to fail with large values for TZ since NetBSD's tzalloc function limits them to 256 bytes.
2025-10-28tests: fix new date/resolution.sh test on macOSPádraig Brady1-3/+4
* tests/date/resolution.sh: Fix comparison on systems with less than nano second reslution, where we use sed to discard the redundant trailing zeros output by date --resolution. Reported by Bruno Haible on macOS.
2025-10-23tests: date: test --resolution and %-NPádraig Brady1-0/+31
* tests/date/resolution.sh: New test for --resolution and %-N. * tests/local.mk: Reference the new test.
2025-10-23tests: date: test --referencePádraig Brady1-0/+50
* tests/date/reference.sh: Ensure the -r option is tested. * tests/local.mk: Add the test.
2025-10-13tests: date: check that the hour format of the current locale is usedCollin Funk1-0/+40
* tests/date/date-locale-hour.sh: New file. * tests/local.mk (all_tests): Add the new test. Co-authored-by: Pádraig Brady <P@draigBrady.com>
2025-07-23tests: date: add tests for the Ethiopian calendarCollin Funk1-0/+45
* tests/date/date-ethiopia.sh: New file. * tests/local.mk (all_tests): Add the test.
2025-07-23tests: date: add tests for the Solar Hijri calendarCollin Funk1-0/+45
* tests/date/date-iran.sh: New file. * tests/local.mk (all_tests): Add the test.
2025-07-21tests: date: add tests for the Thai solar calendarCollin Funk1-0/+46
* tests/date/date-thailand.sh: New file. * tests/local.mk (all_tests): Add the test.
2025-06-10date: port test to NetBSD 10Paul Eggert1-3/+6
Problem reported by Collin Funk in: https://lists.gnu.org/r/bug-gnulib/2025-06/msg00094.html * tests/date/date-debug.sh: Also allow NetBSD 10 mktime behavior. Although NetBSD contradicts POSIX, POSIX is likely wrong here and I vaguely recall that there’s a POSIX correction in progress that will allow the NetBSD behavior.
2025-06-08build: update gnulib submodule to latestPaul Eggert1-1/+1
* tests/date/date-debug.sh: Update to match current behavior of Gnulib's parse-datetime module.
2025-04-23tests: add a test case for negative relative datePádraig Brady1-0/+3
* tests/date/date.pl: To exercise option processing.
2025-01-01maint: update all copyright year number rangesPádraig Brady5-5/+5
Update to latest gnulib with new copyright year. Run "make update-copyright" and then... * gnulib: Update included in this commit as copyright years are the only change from the previous gnulib commit. * tests/init.sh: Sync with gnulib to pick up copyright year. * bootstrap: Likewise. * tests/sample-test: Adjust to use the single most recent year.
2024-01-01maint: update all copyright year number rangesPádraig Brady5-5/+5
Update to latest gnulib with new copyright year. Run "make update-copyright" and then... * gnulib: Update included in this commit as copyright years are the only change from the previous gnulib commit. * tests/init.sh: Sync with gnulib to pick up copyright year. * bootstrap: Manually update copyright year, until we fully sync with gnulib at a later stage. * tests/sample-test: Adjust to use the single most recent year.
2023-06-19tests: move tests to a directory per utilitySylvestre Ledru5-0/+845
* cfg.mk: Adjust syntax check exclusion paths. * tests/local.mk: Adjust for renamed tests.
2005-08-13.Jim Meyering4-750/+0
2005-08-13move a bunch of tests to ../misc/dateJim Meyering1-23/+0
2005-08-13move a bunch of tests to ../misc/dateJim Meyering1-41/+0
2005-08-13move a handful of tests to ../misc/dateJim Meyering1-20/+2
2005-08-13With todays additions, the generated shell script,Jim Meyering1-18/+1
tests/date/date-tests had becoming far too large (over 350KB), so use the superior-but-perl-requiring framework instead. * tests/date/Test.pm: Move new tests from here... * tests/misc/date: ...to this new file.
2005-08-13(test_vector): Add 364 more tests like the above.Jim Meyering1-1/+5
Remove unused $sunos4 variable.
2005-08-13(test_vector) [cross-dst]: New test for just-fixed getdate.y bug.Jim Meyering1-0/+9
2005-08-12.Jim Meyering1-2/+2
2005-08-02.Jim Meyering1-25/+23
2005-08-02(empty-format): New test, for this case.Jim Meyering1-0/+2
2005-07-12.Jim Meyering1-1/+1
2005-07-08Regenerate.Paul Eggert1-1/+1
2005-07-07.Jim Meyering1-5/+5
2005-07-03.Jim Meyering1-33/+34
2005-07-03Regenerate.Paul Eggert1-17/+18
2005-07-02.Jim Meyering1-1/+1
2005-06-30.Jim Meyering1-15/+16
2005-06-27.Jim Meyering1-50/+52
2005-06-20.Jim Meyering1-5/+5
2005-06-02Regenerate.Paul Eggert1-54/+54
2005-05-30Regenerate.Paul Eggert1-11/+11
2005-05-18Regenerate.Paul Eggert1-1/+1
2005-05-14Regenerate.Paul Eggert1-1/+1
2005-05-14.Jim Meyering1-1/+1
2005-05-14.Jim Meyering1-33/+32
2005-05-13.Jim Meyering1-29/+29
2005-04-30Regenerate.Paul Eggert1-18/+18
2005-04-11Regenerate.Paul Eggert1-13/+13
2005-03-22.Jim Meyering1-1/+1
2005-03-21Regenerate.Paul Eggert1-1/+1
2005-03-19.Jim Meyering1-4/+5
2005-03-09.Jim Meyering1-25/+25
2005-03-01.Jim Meyering1-1/+0
2005-02-26Regenerate.Paul Eggert1-0/+1
2005-02-22Regenerate.Paul Eggert1-4/+7
2005-02-21Regenerate.Paul Eggert1-17/+18