chiark / gitweb /
i18n: i18n-diff-auditor: fix bra and ket regexps
[dgit.git] / tests / lib
index ba87fbc78c344dcbad63f9f6fa257f64da36d97f..a050522890c49fe8bed8076c7584a7ac2dfcc314 100644 (file)
--- a/tests/lib
+++ b/tests/lib
@@ -92,7 +92,9 @@ t-expect-fail () {
        local mpat="$1"; shift
 
        set +o pipefail
-       LC_MESSAGES=${expect_fail_lcmessages-C} "$@" 2>&1 | tee $tmp/t.output
+       LC_MESSAGES=${expect_fail_lcmessages-C} \
+       LANGUAGE=${expect_fail_lcmessages-C} \
+       "$@" 2>&1 | tee $tmp/t.output
        local ps="${PIPESTATUS[*]}"
        set -o pipefail