From: Ian Jackson Date: Wed, 18 Jan 2017 21:35:02 +0000 (+0000) Subject: test suite: downstream-gitless: Test import of .dsc from unknown distro. X-Git-Tag: archive/debian/3.6~5 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=commitdiff_plain;h=e0d892c7037eb8f89f6dc3ce166e7f24484df7c6 test suite: downstream-gitless: Test import of .dsc from unknown distro. Signed-off-by: Ian Jackson --- diff --git a/debian/changelog b/debian/changelog index ce2b0b7d..5b9ef0ee 100644 --- a/debian/changelog +++ b/debian/changelog @@ -8,6 +8,9 @@ dgit (3.6~) unstable; urgency=medium * Use `confess' to print a stack trace in a couple of internal error rcases. + Test suite: + * downstream-gitless: Test import of .dsc from unknown distro. + -- dgit (3.5) unstable; urgency=medium diff --git a/tests/tests/downstream-gitless b/tests/tests/downstream-gitless index f3b34690..c70c50fb 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-