]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - t/linkify.t
Add new preprocessor directive syntax¸ using a '!' prefix.
[git.ikiwiki.info.git] / t / linkify.t
index 59af7bd4d08395f8a37120bbe9e780a751bd5ce0..400e2e8932feb2c0d5f444e09b5037c111f7f651 100755 (executable)
@@ -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);
 }