Fix test suite to not rely on an installed copy of ikiwiki after underlaydir change. Closes: #530502

master
Joey Hess 2009-05-25 12:40:40 -04:00
parent 65c95d2508
commit fd7db49f94
2 changed files with 3 additions and 0 deletions

2
debian/changelog vendored
View File

@ -8,6 +8,8 @@ ikiwiki (3.14) UNRELEASED; urgency=low
* format: Provide a htmlizefallback hook that other plugins * format: Provide a htmlizefallback hook that other plugins
can use to handle formats that are not suitable for general-purpose can use to handle formats that are not suitable for general-purpose
htmlize hooks. Used by highlight. 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 -- Joey Hess <joeyh@debian.org> Fri, 22 May 2009 22:03:12 -0400

View File

@ -14,6 +14,7 @@ foreach my $plugin ("", "listdirectives") {
"-plugin smiley ". "-plugin smiley ".
($plugin ? "-plugin $plugin " : ""). ($plugin ? "-plugin $plugin " : "").
"-underlaydir=t/tmp/install/usr/share/ikiwiki/basewiki ". "-underlaydir=t/tmp/install/usr/share/ikiwiki/basewiki ".
"-set underlaydirbase=t/tmp/install/usr/share/ikiwiki ".
"-templatedir=templates t/basewiki_brokenlinks t/tmp/out")); "-templatedir=templates t/basewiki_brokenlinks t/tmp/out"));
my $result=`grep 'no broken links' t/tmp/out/index.html`; my $result=`grep 'no broken links' t/tmp/out/index.html`;
ok(length($result)); ok(length($result));