From cf3d7744cb378b1f1450ffd7c206c2b7d96db0ca Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 29 Sep 2018 11:19:02 +0100 Subject: tests suite; t-expect-fail: Honour expect_fail_lcmessages No users yet so NFC. Signed-off-by: Ian Jackson --- tests/lib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3