summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2010-09-29 11:58:45 -0400
committerJoey Hess <joey@kitenet.net>2010-09-29 11:58:45 -0400
commit2df92a956af2ed6b4ac3c2c3de01c56bb08e2368 (patch)
treef4767d4b3aeefd2a5a16b14f020e54172c80e5bf
parent8571f1e38db474e9fe7616937f8cc896e38813a3 (diff)
Fix test suite failure on other side of date line.
-rw-r--r--debian/changelog6
-rwxr-xr-xt/pagespec_match.t1
2 files changed, 7 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index a26a35617..527dd7884 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 <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.
diff --git a/t/pagespec_match.t b/t/pagespec_match.t
index fe9624370..a37b06e8e 100755
--- a/t/pagespec_match.t
+++ b/t/pagespec_match.t
@@ -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)"));