]> sipb.mit.edu Git - ikiwiki.git/commitdiff
Fix test suite failure on other side of date line.
authorJoey Hess <joey@kitenet.net>
Wed, 29 Sep 2010 15:58:45 +0000 (11:58 -0400)
committerJoey Hess <joey@kitenet.net>
Wed, 29 Sep 2010 15:58:45 +0000 (11:58 -0400)
debian/changelog
t/pagespec_match.t

index a26a356173618bc29fd2e0c788fd69e225a6b93d..527dd788407d54f2e7031d9b9c747eed7ebfab94 100644 (file)
@@ -1,3 +1,9 @@
+ikiwiki (3.20100927) UNRELEASED; urgency=low
+
+  * Fix test suite failure on other side of date line.
+
+ -- Joey Hess <joeyh@debian.org>  Wed, 29 Sep 2010 11:58:23 -0400
+
 ikiwiki (3.20100926) unstable; urgency=low
 
   * meta: Ensure that the url specified by xrds-location is absolute.
index fe9624370625a74a57146f8f7de80c56c6215a0b..a37b06e8e7480173df642782f96e35debd6b6922 100755 (executable)
@@ -101,6 +101,7 @@ ok(pagespec_match("ook", "link(blog/tags/foo)"), "link internal absolute success
 ok(pagespec_match("ook", "link(/blog/tags/foo)"), "link explicit absolute success");
 ok(pagespec_match("meh", "!link(done)"), "negated failing match is a success");
 
+$ENV{TZ}="GMT";
 $IkiWiki::pagectime{foo}=1154532692; # Wed Aug  2 11:26 EDT 2006
 $IkiWiki::pagectime{bar}=1154532695; # after
 ok(pagespec_match("foo", "created_before(bar)"));