X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=tests%2Ftests%2Fdownstream-gitless;h=f3b3469041fdbbc38f073b04f6d476efbfc20c1b;hb=9fd10d6d6a5b67cbba36a82c1ea5342526c32d50;hp=ab0c2593cf00bf2f3ddb25e87e2085cfa980769f;hpb=0f68069fd2f4296db83c10fe02e5947bf631c735;p=dgit.git diff --git a/tests/tests/downstream-gitless b/tests/tests/downstream-gitless index ab0c2593..f3b34690 100755 --- a/tests/tests/downstream-gitless +++ b/tests/tests/downstream-gitless @@ -3,6 +3,7 @@ set -e . tests/lib . $troot/lib-reprepro +t-dependencies reprepro t-setup-import examplegit t-tstunt-parsechangelog @@ -87,7 +88,12 @@ git init t-dgit import-dsc $dscf +x t-ref-same refs/heads/x git show x | grep Spong -cd .. +t-expect-fail 'Your git tree does not have that object' \ +t-dgit --no-chase-dsc-distro import-dsc $dscf +y + +cd ../$p +t-dgit --no-chase-dsc-distro import-dsc $dscf +y +git show y | grep Sid t-ok