]> git.vanrenterghem.biz Git - git.ikiwiki.info.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>
Fri, 12 Nov 2010 05:59:37 +0000 (01:59 -0400)
(cherry picked from commit 2df92a956af2ed6b4ac3c2c3de01c56bb08e2368)

debian/changelog
t/pagespec_match.t

index e36f0285b7f1eaedbf80515ebdec88db2eec07ed..5b8e53a560d6a53b5112fb3215aaeaa58cb6b92a 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.20100815.2) UNRELEASED; urgency=low
 
   * openid: Syntax tweak to the javascript code to make it work with MSIE 7
index 97bcc969c4068a958024658dc90f1801304dd2fd..2624864976009c25f190af8733951ad83f1f4ffa 100755 (executable)
@@ -99,6 +99,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)"));