chiark / gitweb /
test suite: Test --no-chase-dsc-distro
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 9 Jan 2017 00:08:48 +0000 (00:08 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 9 Jan 2017 02:20:09 +0000 (02:20 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
tests/tests/downstream-gitless

index ab0c259..2433cad 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