]> git.ipfire.org Git - thirdparty/coreutils.git/commit
tests: avoid false-positive in date-debug test
authorAssaf Gordon <assafgordon@gmail.com>
Mon, 13 May 2019 22:37:40 +0000 (16:37 -0600)
committerAssaf Gordon <assafgordon@gmail.com>
Thu, 13 Jun 2019 03:14:34 +0000 (21:14 -0600)
commit0251229bfd9617e8a35cf9dd7d338d63fff74a0c
tree9f4c0e95c6db5e0c4fcd8c25162cbe4994ee097e
parent6cc35de16fdc52d417602b66d5e90694d7e02994
tests: avoid false-positive in date-debug test

When debugging an invalid date due to DST switching, the intermediate
'normalized time' should not be checked - its value can differ between
systems (e.g. glibc vs musl).

Reported by Niklas Hambüchen in
https://lists.gnu.org/r/coreutils/2019-05/msg00031.html
Analyzed by Rich Felker in
https://lists.gnu.org/r/coreutils/2019-05/msg00039.html

* tests/misc/date-debug.sh: Replace the exact normalized time
with 'XX:XX:XX' so different values would not trigger test failure.
tests/misc/date-debug.sh