]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - t/toc.t
simple fix: a missing semi colon
[git.ikiwiki.info.git] / t / toc.t
diff --git a/t/toc.t b/t/toc.t
index ff8e9f9919794c507b986b8f55b4b05b18477cf9..dc737764797103e9dd47a79f2af7c6f0f0ac421b 100755 (executable)
--- a/t/toc.t
+++ b/t/toc.t
@@ -10,6 +10,15 @@ BEGIN { use_ok("IkiWiki::Render"); }
 %config=IkiWiki::defaultconfig();
 $config{srcdir}=$config{destdir}="/dev/null";
 $config{add_plugins}=[qw(toc)];
+
+my $installed = $ENV{INSTALLED_TESTS};
+
+unless ($installed) {
+       $config{templatedir} = "templates";
+       $config{underlaydir} = "underlays/basewiki";
+       $config{underlaydirbase} = "underlays";
+}
+
 IkiWiki::loadplugins();
 IkiWiki::checkconfig();