X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=tests%2Flib;h=a050522890c49fe8bed8076c7584a7ac2dfcc314;hb=61e45b33282a021e491082470152c97371a3903f;hp=57b9e38e8d92b41b75a554730da6469284432b96;hpb=65bfecf7405f3e37c25222b7f16e38edce81b5fa;p=dgit.git diff --git a/tests/lib b/tests/lib index 57b9e38e..a0505228 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 () {