summaryrefslogtreecommitdiff
path: root/tests/tests
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2017-01-18 21:35:23 +0000
committerIan Jackson <ijackson@chiark.greenend.org.uk>2017-01-18 21:35:24 +0000
commit8df7ac2d5674abb5cb0cddec8476fc045ad2f074 (patch)
tree22366bfbbb4030cb51ab84c5c052bd113cb77185 /tests/tests
parente0d892c7037eb8f89f6dc3ce166e7f24484df7c6 (diff)
test suite: downstream-gitless: Test import of .dsc with unsafe url.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'tests/tests')
-rwxr-xr-xtests/tests/downstream-gitless3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/tests/downstream-gitless b/tests/tests/downstream-gitless
index c70c50f..6b2df1b 100755
--- a/tests/tests/downstream-gitless
+++ b/tests/tests/downstream-gitless
@@ -77,6 +77,9 @@ t-dgit clone example avon example.avon
perl -i -pe 's/ test-dummy / unknown-distro / if m/^Dgit:/' $dscf
cd $p.import
+t-expect-fail 'hinted url with protocol file which is unsafe' \
+t-dgit import-dsc $dscf xunk
+
t-git-config dgit.dsc-url-proto-ok.file true
t-dgit import-dsc $dscf xunk