[Toybox] [PATCH] date.test: defuse a time bomb.
enh
enh at google.com
Mon Jan 6 13:37:47 PST 2020
One of these tests fails in the gap between the locale it's run in
changing the year and Europe/Berlin's changeover (caught by our
automated testing, which tends to celebrate every new year by finding
mistakes in tests like this).
Another test has been failing consistently since 2020 because the
default date output format includes the day of the week. Rather than
implement Zeller's Congruence in the shell, explicitly use a format that
doesn't include the day of the week for that test (and reuse the
now-fixed calculation of the current year used by the other
year-sensitive test).
---
tests/date.test | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-date.test-defuse-a-time-bomb.patch
Type: text/x-patch
Size: 2392 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20200106/b3a7d2ff/attachment-0002.bin>
More information about the Toybox
mailing list