diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2018-09-29 11:43:24 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2018-09-29 12:48:24 +0100 |
commit | 1e8530a75b48e9444c3f629eea2e1414e001b76c (patch) | |
tree | 68dd37c2032c4ca423a9e612a8f6647e41b8ac1f /tests/lib | |
parent | f1d68d5945334f10b96a94f129556656b1543dd8 (diff) |
test suite: t-expect-fail: Set LANGUAGE too
The user may have this in their environment, in which case we must
squash it too.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'tests/lib')
-rw-r--r-- | tests/lib | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |