From: Ian Jackson Date: Fri, 19 Jul 2019 21:15:02 +0000 (+0100) Subject: test suite: tag-to-upload tests: Set LC_MESSAGES in with-mangled X-Git-Tag: archive/debian/9.4~7 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=ea47dd8b3dcb8528e8fdfa7bd86bb890d2ca79d7;p=dgit.git test suite: tag-to-upload tests: Set LC_MESSAGES in with-mangled 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 --- diff --git a/tests/tests/tagupl b/tests/tests/tagupl index 3b0a7a09..0f6ff982 100755 --- a/tests/tests/tagupl +++ b/tests/tests/tagupl @@ -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 }