diff options
author | Elliott Hughes <enh@google.com> | 2020-01-06 13:34:35 -0800 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2020-01-06 19:53:25 -0600 |
commit | 5854c801a718e92504114dec21038d740498dd65 (patch) | |
tree | 621b71cde993d5f2c3f03e608c556711dcbaa1e2 /tests/dd.test | |
parent | c25ff2dde84d2af5744a1dc7d0dbd2c14cbaae62 (diff) | |
download | toybox-5854c801a718e92504114dec21038d740498dd65.tar.gz |
date.test: defuse a time bomb.
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).
Diffstat (limited to 'tests/dd.test')
0 files changed, 0 insertions, 0 deletions