From fd7db49f941eab604fcabdf78b3c36c743005d34 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 25 May 2009 12:40:40 -0400 Subject: [PATCH] Fix test suite to not rely on an installed copy of ikiwiki after underlaydir change. Closes: #530502 --- debian/changelog | 2 ++ t/basewiki_brokenlinks.t | 1 + 2 files changed, 3 insertions(+) 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 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));