summaryrefslogtreecommitdiff
path: root/t/basewiki_brokenlinks.t
blob: f70394b85f02553ecdec8329ebe0eec5a610c51e (plain)
  1. #!/usr/bin/perl
  2. use warnings;
  3. use strict;
  4. use Test::More tests => 3;
  5. ok(! system("make ikiwiki.out"));
  6. ok(! system("PERL5LIB=. ./ikiwiki.out -plugin brokenlinks -rebuild -underlaydir=basewiki t/basewiki_brokenlinks t/basewiki_brokenlinks/out"));
  7. ok(`grep 'no broken links' t/basewiki_brokenlinks/out/index.html`);
  8. system("rm -rf t/basewiki_brokenlinks/out t/basewiki_brokenlinks/.ikiwiki");