X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/7e144b8f4a34bf5a5e81bdf5ece8cfc336c60cd1..d5eaf736899e0d303d32b3d782a38f658f13cc39:/t/linkify.t diff --git a/t/linkify.t b/t/linkify.t index 59af7bd4d..400e2e893 100755 --- a/t/linkify.t +++ b/t/linkify.t @@ -24,9 +24,17 @@ sub linkify ($$$$) { } %config=IkiWiki::defaultconfig(); $config{cgiurl}="http://somehost/ikiwiki.cgi"; + $config{srcdir}=$config{destdir}="/dev/null"; # placate checkconfig # currently coded for non usedirs mode (TODO: check both) $config{usedirs}=0; + # currently coded for prefix_directives=0 (TODO: check both) + # Not setting $config{prefix_directives}=0 explicitly; instead, let the + # tests break if the default changes, as a reminder to update the + # tests. + + IkiWiki::checkconfig(); + return IkiWiki::linkify($lpage, $page, $content); }