diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-08-21 19:58:14 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-08-21 19:58:14 +0000 |
commit | 7c032d14659cc57cecb529e9d22177844dd71dc0 (patch) | |
tree | 639cd4443959cd94f9f00145bb978e7df74ad6cf /t | |
parent | 7dd6385fdb181aabc8ec695c1e4d248ac834545b (diff) | |
download | ikiwiki-7c032d14659cc57cecb529e9d22177844dd71dc0.tar ikiwiki-7c032d14659cc57cecb529e9d22177844dd71dc0.tar.gz |
test suite fixes
Diffstat (limited to 't')
-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)); |