]> sipb.mit.edu Git - ikiwiki.git/blob - t/basewiki_brokenlinks.t
seems like this will be more usable in archive format
[ikiwiki.git] / t / basewiki_brokenlinks.t
1 #!/usr/bin/perl
2 use warnings;
3 use strict;
4 use Test::More tests => 3;
5
6 ok(! system("make ikiwiki.out"));
7 ok(! system("perl -T -I. ./ikiwiki.out -plugin brokenlinks -rebuild -underlaydir=basewiki -templatedir=templates t/basewiki_brokenlinks t/basewiki_brokenlinks/out"));
8 ok(`grep 'no broken links' t/basewiki_brokenlinks/out/index.html`);
9 system("rm -rf t/basewiki_brokenlinks/out t/basewiki_brokenlinks/.ikiwiki");