X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=test%2Ftest-lib.sh;h=53cb9475ad0f62cb442efb95cac75fda0a4ee235;hb=b421f00a05dba82d6c3df6dcb6ae9063c5395b49;hp=d22408d8135bfd954c984830b104bdc1160e4de6;hpb=72ff135ac3e79be548bf5b82b63d15ba278ef4ce;p=notmuch diff --git a/test/test-lib.sh b/test/test-lib.sh index d22408d8..53cb9475 100644 --- a/test/test-lib.sh +++ b/test/test-lib.sh @@ -356,7 +356,11 @@ generate_message () fi if [ -z "${template[date]}" ]; then - template[date]="Fri, 05 Jan 2001 15:43:57 +0000" + # we use decreasing timestamps here for historical reasons; + # the existing test suite when we converted to unique timestamps just + # happened to have signicantly fewer failures with that choice. + template[date]=$(TZ=UTC printf "%(%a, %d %b %Y %T %z)T\n" \ + $((978709437 - gen_msg_cnt))) fi additional_headers=""