summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/tests/downstream-gitless7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/tests/downstream-gitless b/tests/tests/downstream-gitless
index ab0c259..2433cad 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