diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2017-01-18 21:35:02 +0000 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2017-01-18 21:35:04 +0000 |
commit | e0d892c7037eb8f89f6dc3ce166e7f24484df7c6 (patch) | |
tree | 1d899ac3921de96296779977c0e76947f13540af /tests | |
parent | 7dcdcdd7c58d7ea097088f76909b04d0ba0db5f6 (diff) |
test suite: downstream-gitless: Test import of .dsc from unknown distro.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/tests/downstream-gitless | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/tests/downstream-gitless b/tests/tests/downstream-gitless index f3b3469..c70c50f 100755 --- a/tests/tests/downstream-gitless +++ b/tests/tests/downstream-gitless @@ -74,6 +74,15 @@ t-git-config dgit-distro.downstream.git-check false t-dgit clone example avon example.avon +perl -i -pe 's/ test-dummy / unknown-distro / if m/^Dgit:/' $dscf +cd $p.import + +t-git-config dgit.dsc-url-proto-ok.file true +t-dgit import-dsc $dscf xunk + +cd .. + + dscf=$tmp/mirror/pool/main/example_2.1.dsc t-reprepro-includedsc avon $dscf ds- t-reprepro-regen ds- |