LC_MESSAGES=C t-dgit "$@" 2>&1 |tee ../$err
set +e
- fgrep 'warning: source tree contains .gitattributes' ../$err
+ egrep 'warning: .* contains \.gitattributes' ../$err
rc=$?
set -e
t-dgit-warn-check 1 $dgitargs import-dsc ../$dscf +$branch
git checkout $branch
+ touch af/*
git reset --hard
sums_check
sfmt_import norm
sfmt_import absurd --force-import-gitapply-absurd
-#t-ok
+: ----- 'test clone (with "3.0 (quilt)")' -----
+
+mv $origtar ${dscf%.dsc}.* $tmp/mirror/pool/main/
+t-archive-query sid
+
+t-dgit-warn-check 0 -cdgit.default.setup-gitattributes=false \
+ clone $p sid $p.clone.broken
+cd $p.clone.broken
+
+sums=$p.clone.broken
+sums_check_broken
+
+cd ..
+
+t-dgit-warn-check 1 clone $p sid $p.clone
+
+cd $p.clone
+sums=sums.clone
+branch=dgit/sid
+sums_check
+
+cd ..
+
+t-ok