summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2018-09-29 11:19:02 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2018-09-29 12:48:14 +0100
commitcf3d7744cb378b1f1450ffd7c206c2b7d96db0ca (patch)
tree4fd378d2add66e4eacda3d776b0651ca6e7c9f3a
parent33eb4ed739af3871f5aedd9ca944cc134f012523 (diff)
tests suite; t-expect-fail: Honour expect_fail_lcmessages
No users yet so NFC. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
-rw-r--r--tests/lib2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib b/tests/lib
index a4f307f..ba87fbc 100644
--- a/tests/lib
+++ b/tests/lib
@@ -92,7 +92,7 @@ t-expect-fail () {
local mpat="$1"; shift
set +o pipefail
- LC_MESSAGES=C "$@" 2>&1 | tee $tmp/t.output
+ LC_MESSAGES=${expect_fail_lcmessages-C} "$@" 2>&1 | tee $tmp/t.output
local ps="${PIPESTATUS[*]}"
set -o pipefail