]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - t/basewiki_brokenlinks.t
web commit by atest: Hi, test!
[git.ikiwiki.info.git] / t / basewiki_brokenlinks.t
index 929a560de115fe051541fa45cf8330dffd36731d..d7ff58da926f4a4e3f6bc2292d2ae313a2dfa927 100644 (file)
@@ -1,9 +1,9 @@
 #!/usr/bin/perl
 use warnings;
 use strict;
-use Test::More tests => 2;
+use Test::More tests => 3;
 
-my $ret=system("./ikiwiki.out -plugin brokenlinks -rebuild -underlaydir=basewiki t/basewiki_brokenlinks t/basewiki_brokenlinks/out");
-ok($ret == 0);
+ok(! system("make ikiwiki.out"));
+ok(! system("perl -T -I. ./ikiwiki.out -plugin brokenlinks -rebuild -underlaydir=basewiki -templatedir=templates t/basewiki_brokenlinks t/basewiki_brokenlinks/out"));
 ok(`grep 'no broken links' t/basewiki_brokenlinks/out/index.html`);
 system("rm -rf t/basewiki_brokenlinks/out t/basewiki_brokenlinks/.ikiwiki");