From: Joey Hess Date: Mon, 25 May 2009 16:40:40 +0000 (-0400) Subject: Fix test suite to not rely on an installed copy of ikiwiki after underlaydir change... X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/commitdiff_plain/fd7db49f941eab604fcabdf78b3c36c743005d34 Fix test suite to not rely on an installed copy of ikiwiki after underlaydir change. Closes: #530502 --- 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));