aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-05-25 12:40:40 -0400
committerJoey Hess <joey@gnu.kitenet.net>2009-05-25 12:40:40 -0400
commitfd7db49f941eab604fcabdf78b3c36c743005d34 (patch)
treec188748900b9c5dd3ac17744d0aad474bb819477
parent65c95d2508b01636559faa76acf36b458823f460 (diff)
downloadikiwiki-fd7db49f941eab604fcabdf78b3c36c743005d34.tar
ikiwiki-fd7db49f941eab604fcabdf78b3c36c743005d34.tar.gz
Fix test suite to not rely on an installed copy of ikiwiki after underlaydir change. Closes: #530502
-rw-r--r--debian/changelog2
-rwxr-xr-xt/basewiki_brokenlinks.t1
2 files changed, 3 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 8088fa705..2be245191 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,8 @@ ikiwiki (3.14) UNRELEASED; urgency=low
* format: Provide a htmlizefallback hook that other plugins
can use to handle formats that are not suitable for general-purpose
htmlize hooks. Used by highlight.
+ * Fix test suite to not rely on an installed copy of ikiwiki after
+ underlaydir change. Closes: #530502
-- Joey Hess <joeyh@debian.org> Fri, 22 May 2009 22:03:12 -0400
diff --git a/t/basewiki_brokenlinks.t b/t/basewiki_brokenlinks.t
index 479c71a93..2871b1dd2 100755
--- a/t/basewiki_brokenlinks.t
+++ b/t/basewiki_brokenlinks.t
@@ -14,6 +14,7 @@ foreach my $plugin ("", "listdirectives") {
"-plugin smiley ".
($plugin ? "-plugin $plugin " : "").
"-underlaydir=t/tmp/install/usr/share/ikiwiki/basewiki ".
+ "-set underlaydirbase=t/tmp/install/usr/share/ikiwiki ".
"-templatedir=templates t/basewiki_brokenlinks t/tmp/out"));
my $result=`grep 'no broken links' t/tmp/out/index.html`;
ok(length($result));