chiark / gitweb /
test suite: tag-to-upload tests: Set LC_MESSAGES in with-mangled
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 19 Jul 2019 21:15:02 +0000 (22:15 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 19 Jul 2019 21:15:02 +0000 (22:15 +0100)
t-expect-fail would do this but we aren't using it here, so we need to
do it explicitly.

This will avoid the tests failing in some locales.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
tests/tests/tagupl

index 3b0a7a090ef567c108b2fdbcdc1f455ca87b42ea..0f6ff982d54ebb8492b200a33ee795bb80eba2fb 100755 (executable)
@@ -65,6 +65,7 @@ with-mangled () {
        perl <../basetag >../badtag-$ident -pe "$perl"
        git tag -u Senatus -f -s -m "$(cat ../badtag-$ident)" "$tagname"
 
+       LC_MESSAGES=C \
        t-tagupl-run-drs $tmp/$p
 }