Fix test suite failure on other side of date line.

master
Joey Hess 2010-09-29 11:58:45 -04:00
parent 8571f1e38d
commit 2df92a956a
2 changed files with 7 additions and 0 deletions

6
debian/changelog vendored
View 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.

View File

@ -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)"));