test suite fixes
parent
7dd6385fdb
commit
7c032d1465
|
@ -4,6 +4,6 @@ use strict;
|
|||
use Test::More tests => 3;
|
||||
|
||||
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(! system("LANG=C 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");
|
||||
|
|
|
@ -5,7 +5,8 @@ use Test::More;
|
|||
|
||||
my @progs="ikiwiki.in";
|
||||
my @libs="IkiWiki.pm";
|
||||
push @libs, map { chomp; $_ } `find IkiWiki -type f -name \\*.pm`;
|
||||
# monotone skipped since it needs a perl module
|
||||
push @libs, map { chomp; $_ } `find IkiWiki -type f -name \\*.pm | grep -v IkiWiki/Rcs/monotone.pm`;
|
||||
|
||||
plan(tests => (@progs + @libs));
|
||||
|
||||
|
|
Loading…
Reference in New Issue