From c61b6c66407316e71bd2f5a7beda6397e709fe60 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 29 Sep 2010 11:58:45 -0400 Subject: [PATCH] Fix test suite failure on other side of date line. (cherry picked from commit 2df92a956af2ed6b4ac3c2c3de01c56bb08e2368) --- debian/changelog | 6 ++++++ t/pagespec_match.t | 1 + 2 files changed, 7 insertions(+) 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)")); -- 2.39.2