chiark
/
gitweb
/
~ianmdlvl
/
dgit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1d68d5
)
test suite: t-expect-fail: Set LANGUAGE too
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 29 Sep 2018 10:43:24 +0000
(11:43 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 29 Sep 2018 11:48:24 +0000
(12:48 +0100)
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>
tests/lib
patch
|
blob
|
history
diff --git
a/tests/lib
b/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