X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/d3d528b5c4e61ade7153df8f3d60cf651c39e5e1..2db862036cf840f3772550ccf20188c2f02987a9:/t/basewiki_brokenlinks.t diff --git a/t/basewiki_brokenlinks.t b/t/basewiki_brokenlinks.t index 929a560de..d7ff58da9 100644 --- a/t/basewiki_brokenlinks.t +++ b/t/basewiki_brokenlinks.t @@ -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");