From: Ian Jackson Date: Sat, 29 Sep 2018 10:19:02 +0000 (+0100) Subject: tests suite; t-expect-fail: Honour expect_fail_lcmessages X-Git-Tag: archive/debian/7.0_pre1~69 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=cf3d7744cb378b1f1450ffd7c206c2b7d96db0ca;p=dgit.git tests suite; t-expect-fail: Honour expect_fail_lcmessages No users yet so NFC. Signed-off-by: Ian Jackson --- diff --git a/tests/lib b/tests/lib index a4f307f8..ba87fbc7 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