chiark / gitweb /
test suite: Test --no-chase-dsc-distro
[dgit.git] / tests / tests / downstream-gitless
index ab0c2593cf00bf2f3ddb25e87e2085cfa980769f..2433cad3923c36b25dfa85955641ea68430e198d 100755 (executable)
@@ -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