chiark / gitweb /
dgit: clone-dgit-repos-server: Set $access_forpush
[dgit.git] / tests / tests / downstream-gitless
index b7f1c608efcf449cf951cc46bd617218ec09654e..f3b3469041fdbbc38f073b04f6d476efbfc20c1b 100755 (executable)
@@ -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
+t-ok