chiark / gitweb /
test suite: downstream-gitless: Test import of .dsc from unknown distro.
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 18 Jan 2017 21:35:02 +0000 (21:35 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 18 Jan 2017 21:35:04 +0000 (21:35 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
debian/changelog
tests/tests/downstream-gitless

index ce2b0b7d04f244e6570fa1abef170f7203ea3859..5b9ef0eed4e76bcbe4bf7b0e9915a11e60bcd0da 100644 (file)
@@ -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
index f3b3469041fdbbc38f073b04f6d476efbfc20c1b..c70c50fb4e0fe8bfe0e3774dbba00c680fbea7bd 100755 (executable)
@@ -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-