X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=tests%2Ftests%2Fdownstream-gitless;fp=tests%2Ftests%2Fdownstream-gitless;h=2433cad3923c36b25dfa85955641ea68430e198d;hb=7aa972091b66cb66b77c44bd9c180161fd2c6977;hp=ab0c2593cf00bf2f3ddb25e87e2085cfa980769f;hpb=5fe16b89fe3b3b5cbdde241e5665e7dac2999ffa;p=dgit.git diff --git a/tests/tests/downstream-gitless b/tests/tests/downstream-gitless index ab0c2593..2433cad3 100755 --- a/tests/tests/downstream-gitless +++ b/tests/tests/downstream-gitless @@ -87,7 +87,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