summaryrefslogtreecommitdiff
path: root/t
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 /t
parent8571f1e38db474e9fe7616937f8cc896e38813a3 (diff)
Fix test suite failure on other side of date line.
Diffstat (limited to 't')
-rwxr-xr-xt/pagespec_match.t1
1 files changed, 1 insertions, 0 deletions
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)"));