From: Ian Jackson Date: Tue, 17 Jan 2017 12:54:24 +0000 (+0000) Subject: test suite: gitattributes: Start to test clone X-Git-Tag: archive/debian/3.5~8 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=38d5af284706d0f51e1b9e7bdfd9fea3aa0fa5c1;p=dgit.git test suite: gitattributes: Start to test clone Signed-off-by: Ian Jackson --- diff --git a/tests/tests/gitattributes b/tests/tests/gitattributes index 83fa6102..682b459d 100755 --- a/tests/tests/gitattributes +++ b/tests/tests/gitattributes @@ -149,7 +149,7 @@ t-dgit-warn-check () { 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 @@ -229,4 +229,15 @@ sfmt_setup 1.0-1 quilt sfmt_import norm sfmt_import absurd --force-import-gitapply-absurd +: ----- '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 + +cd .. + #t-ok