diff options
| author | Paul Eggert <eggert@cs.ucla.edu> | 2022-02-05 13:46:44 -0800 |
|---|---|---|
| committer | Paul Eggert <eggert@cs.ucla.edu> | 2022-02-05 13:47:07 -0800 |
| commit | 8a3dedfef9479c53cd9016139ce00d58a6006ba2 (patch) | |
| tree | 92aa6572fc2fcc01daaba43e5cdbc81edd5da532 /tests | |
| parent | build: update gnulib submodule to latest (diff) | |
| download | coreutils-8a3dedfef9479c53cd9016139ce00d58a6006ba2.tar.gz coreutils-8a3dedfef9479c53cd9016139ce00d58a6006ba2.zip | |
date: test against bug#50115
* tests/misc/date.pl: Add test.
Diffstat (limited to 'tests')
| -rwxr-xr-x | tests/misc/date.pl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/misc/date.pl b/tests/misc/date.pl index e9de8e453..ef7080e33 100755 --- a/tests/misc/date.pl +++ b/tests/misc/date.pl @@ -301,6 +301,9 @@ my @Tests = # https://bugs.gnu.org/34608 ['date-century-plus', '-d @0 +.%+4C.', {OUT => '.+019.'}], + # https://bugs.gnu.org/50115 + ['date-epoch-minus-1', '-u -d "1970-12-31T23:59:59+00:00 - 1 year"', + {OUT => 'Wed Dec 31 23:59:59 UTC 1969'}], # Military time zones, new behavior (since 8.32) # https://lists.gnu.org/r/bug-gnulib/2019-08/msg00005.html |
