build wiki in C locale, to ensure that the "no broken links" message is not translated
authorJoey Hess <joey@gnu.kitenet.net>
Wed, 14 Oct 2009 17:19:44 +0000 (13:19 -0400)
committerJoey Hess <joey@gnu.kitenet.net>
Wed, 14 Oct 2009 17:19:44 +0000 (13:19 -0400)
t/basewiki_brokenlinks.t

index d74f64e362f6e0822ec953e2eda2ce95c05764ea..2dd95083226fc23f32f389ce203a884e6558ffec 100755 (executable)
@@ -8,7 +8,7 @@ ok(! system("make -s ikiwiki.out"));
 ok(! system("make underlay_install DESTDIR=`pwd`/t/tmp/install PREFIX=/usr >/dev/null"));
 
 foreach my $plugin ("", "listdirectives") {
-       ok(! system("perl -I. ./ikiwiki.out -rebuild -plugin brokenlinks ".
+       ok(! system("LANG=C perl -I. ./ikiwiki.out -rebuild -plugin brokenlinks ".
                        # always enabled because pages link to it conditionally,
                        # which brokenlinks cannot handle properly
                        "-plugin smiley ".