diff options
-rwxr-xr-x[-rw-r--r--] | t/basewiki_brokenlinks.t | 2 | ||||
-rwxr-xr-x | t/syntax.t | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/t/basewiki_brokenlinks.t b/t/basewiki_brokenlinks.t index d7ff58da9..fbcc10554 100644..100755 --- a/t/basewiki_brokenlinks.t +++ b/t/basewiki_brokenlinks.t @@ -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"); diff --git a/t/syntax.t b/t/syntax.t index 20396aaae..38c5a82c4 100755 --- a/t/syntax.t +++ b/t/syntax.t @@ -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)); |