summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2017-01-09 00:08:48 +0000
committerIan Jackson <ijackson@chiark.greenend.org.uk>2017-01-09 02:20:09 +0000
commit7aa972091b66cb66b77c44bd9c180161fd2c6977 (patch)
tree0851b6120d21cc389a7ec8d71b622a17d2d838db /tests
parent5fe16b89fe3b3b5cbdde241e5665e7dac2999ffa (diff)
test suite: Test --no-chase-dsc-distro
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
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