aboutsummaryrefslogtreecommitdiff
path: root/test/T660-bad-date.sh
AgeCommit message (Collapse)Author
2017-10-20test: use $(dirname "$0") for sourcing test-lib.shJani Nikula
Don't assume the tests are always run from within the source tree.
2017-03-15lib: clamp return value of g_mime_utils_header_decode_date to >=0David Bremner
For reasons not completely understood at this time, gmime (as of 2.6.22) is returning a date before 1900 on bad date input. Since this confuses some other software, we clamp such dates to 0, i.e. 1970-01-01.
2017-03-15lib: add known broken test for parsing bad dates.David Bremner
This reproduces the symptoms of bug report id:20150422065630.6330.90536@hoothoot