summaryrefslogtreecommitdiff
path: root/tests/tests
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2015-04-19 16:01:04 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2015-05-31 11:54:05 +0100
commit38b8cc309c7960a312f375b60dad41ef17ba2739 (patch)
tree2186bb3273fc1517d6fb81e20dd8d7fe7c127517 /tests/tests
parenta34850cd18a1e8f163f3dda9c8fb6272706a8ea0 (diff)
LANG, LC_*: Consistently set required LC_* env vars
Diffstat (limited to 'tests/tests')
-rwxr-xr-xtests/tests/drs-push-rejects2
-rwxr-xr-xtests/tests/push-newpackage2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/tests/drs-push-rejects b/tests/tests/drs-push-rejects
index f6f8882..df90d22 100755
--- a/tests/tests/drs-push-rejects
+++ b/tests/tests/drs-push-rejects
@@ -86,7 +86,7 @@ for h in object type tag; do
cat badtag.asc >>badtag
set +e
- LC_ALL=C git hash-object -w -t tag badtag >badtag.hash 2>badtag.err
+ LC_MESSAGES=C git hash-object -w -t tag badtag >badtag.hash 2>badtag.err
rc=$?
set -e
diff --git a/tests/tests/push-newpackage b/tests/tests/push-newpackage
index 5d23faa..2bfa5d5 100755
--- a/tests/tests/push-newpackage
+++ b/tests/tests/push-newpackage
@@ -8,7 +8,7 @@ cd $p
t-refs-same-start
t-ref-head
-LANG=C t-dgit push 2>&1 \
+LC_MESSAGES=C t-dgit push 2>&1 \
| tee /dev/stderr \
| grep 'package appears to be new in this suite' >/dev/null