diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2017-01-18 21:35:23 +0000 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2017-01-18 21:35:24 +0000 |
commit | 8df7ac2d5674abb5cb0cddec8476fc045ad2f074 (patch) | |
tree | 22366bfbbb4030cb51ab84c5c052bd113cb77185 /tests | |
parent | e0d892c7037eb8f89f6dc3ce166e7f24484df7c6 (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')
-rwxr-xr-x | tests/tests/downstream-gitless | 3 |
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 |