]> git.notmuchmail.org Git - notmuch/commitdiff
test: Use an older date for the generated messages.
authorCarl Worth <cworth@cworth.org>
Thu, 15 Apr 2010 21:09:07 +0000 (14:09 -0700)
committerCarl Worth <cworth@cworth.org>
Thu, 15 Apr 2010 21:13:12 +0000 (14:13 -0700)
Using a date in the current year makes the test suite fragile since
the search output will include a date of "January 05" for now, but
will start doing "2010-01-05" in the future.

test/notmuch-test

index 74509bcf28450a45202eba866b4305d5145d4cc2..b08d33165dd31456bd51a3843409396b705493d8 100755 (executable)
@@ -110,7 +110,7 @@ generate_message ()
     fi
 
     if [ -z "${template[date]}" ]; then
-       template[date]="Tue, 05 Jan 2010 15:43:57 -0800"
+       template[date]="Tue, 05 Jan 2001 15:43:57 -0800"
     fi
 
     additional_headers=""