From: Joey Hess Date: Wed, 29 Sep 2010 15:58:45 +0000 (-0400) Subject: Fix test suite failure on other side of date line. X-Git-Tag: 3.20100815.2~9 X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/c61b6c66407316e71bd2f5a7beda6397e709fe60 Fix test suite failure on other side of date line. (cherry picked from commit 2df92a956af2ed6b4ac3c2c3de01c56bb08e2368) --- diff --git a/debian/changelog b/debian/changelog index e36f0285b..5b8e53a56 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +ikiwiki (3.20100927) UNRELEASED; urgency=low + + * Fix test suite failure on other side of date line. + + -- Joey Hess 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 diff --git a/t/pagespec_match.t b/t/pagespec_match.t index 97bcc969c..262486497 100755 --- a/t/pagespec_match.t +++ b/t/pagespec_match.t @@ -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)"));