summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/tests/gitattributes6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/tests/gitattributes b/tests/tests/gitattributes
index 7b0818a..2e24bba 100755
--- a/tests/tests/gitattributes
+++ b/tests/tests/gitattributes
@@ -96,12 +96,16 @@ sfmt_import () {
inst=$1
dgitargs=$2
refname="import.$sfmt-$inst"
+ brkerr=stderr.$sfmt-$inst.broken
mkdir $pdb-import-$inst
cd $pdb-import-$inst
git init
- t-dgit $dgitargs import-dsc ../${p}_${v}.dsc +$refname.broken
+ LC_MESSAGES=C \
+ t-dgit $dgitargs import-dsc ../${p}_${v}.dsc +$refname.broken \
+ 2>&1 |tee ../$brkerr
+ fgrep 'warning: source tree contains .gitattributes' ../$brkerr
git checkout $refname.broken
sha256sum af/* >../$sums.broken