summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2017-01-17 12:54:24 +0000
committerIan Jackson <ijackson@chiark.greenend.org.uk>2017-01-17 12:54:24 +0000
commit38d5af284706d0f51e1b9e7bdfd9fea3aa0fa5c1 (patch)
tree3f6a66181bef60bd17035cf530489203c16ddb48 /tests
parent005625309ea693fcb6e95b595c2395a9c533dd3d (diff)
test suite: gitattributes: Start to test clone
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/tests/gitattributes13
1 files changed, 12 insertions, 1 deletions
diff --git a/tests/tests/gitattributes b/tests/tests/gitattributes
index 83fa610..682b459 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