summaryrefslogtreecommitdiff
path: root/tests/lib
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2018-10-10 08:40:06 -0700
committerSean Whitton <spwhitton@spwhitton.name>2018-10-10 08:40:06 -0700
commitbd5ec77ecd3c3377d7473ae055b88325aef3696b (patch)
treed6281cf838da6b8c5e218a1e7615d682c1a4dc89 /tests/lib
parent11a5cbb0e28d391324948cec33b1d40499f16d3b (diff)
parentfa303f348f6fe529cafdc5b91f9a15bddefd2b56 (diff)
Merge tag 'debian/7.0' into stretch-bpo
dgit release 7.0 for unstable (sid) [dgit] [dgit distro=debian] # gpg: Signature made Thu 04 Oct 2018 12:36:14 PM MST # gpg: using RSA key 559AE46C2D6B6D3265E7CBA1E3E3392348B50D39 # gpg: Can't check signature: No public key
Diffstat (limited to 'tests/lib')
-rw-r--r--tests/lib8
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/lib b/tests/lib
index 57b9e38..a050522 100644
--- a/tests/lib
+++ b/tests/lib
@@ -92,7 +92,9 @@ 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} \
+ LANGUAGE=${expect_fail_lcmessages-C} \
+ "$@" 2>&1 | tee $tmp/t.output
local ps="${PIPESTATUS[*]}"
set -o pipefail
@@ -407,8 +409,8 @@ t-git-fsck () {
t-check-only-bpd () {
if [ "$bpd" = .. ]; then return; fi
t-files-notexist \
- ../*.{deb,changes,dsc,buildinfo} \
- ../*.{tar,diff}.*
+ $tmp/*.{deb,changes,dsc,buildinfo} \
+ $tmp/*.{tar,diff}.*
}
t-fscks () {