diff options
Diffstat (limited to 't/linkify.t')
-rwxr-xr-x | t/linkify.t | 8 |
1 files changed, 8 insertions, 0 deletions
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); } |