This is an automated email from the git hooks/post-receive script.

treinen pushed a commit to branch master
in repository dose3.

commit 969b413fa9a3c886fbeb1351b1fb3dcb86c4a99e
Author: Ralf Treinen <trei...@pps.univ-paris-diderot.fr>
Date:   Sat Jan 30 18:14:54 2016 +0100

    test cas for bug790422
---
 debian/changelog       |  6 +++---
 debian/tests/bug790422 | 17 +++++++++++++++++
 debian/tests/control   |  2 +-
 3 files changed, 21 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 796950f..be050bc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,12 +1,12 @@
 dose3 (4.1-4) UNRELEASED; urgency=medium
 
-  * fix name of dose-deb-coinstall in package description of dose-extra
-    (closes: #812203)
   * patch lexing-debian-fields: syntax of debian fields according to
     debian policy. Patch taken from upstream. (closes: #811569)
-  * add a test case for bug#811569
   * patch add-gnuhardened1-linux: compile on hardenend1-linux-amd64. Thanks
     to Balint Reczey for the patch! (closes: #812786)
+  * fix name of dose-deb-coinstall in package description of dose-extra
+    (closes: #812203)
+  * add test cases for bug#811569 and bug#790422.
 
  -- Ralf Treinen <trei...@debian.org>  Sat, 30 Jan 2016 17:24:29 +0100
 
diff --git a/debian/tests/bug790422 b/debian/tests/bug790422
new file mode 100755
index 0000000..3ad6d70
--- /dev/null
+++ b/debian/tests/bug790422
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+# debian bug 790422: accept empty input file
+
+set -e
+
+this=dose-debcheck
+indir=debian/tests/repos
+outdir=${ADT_ARTIFACTS}/${this}
+mkdir -p ${outdir}
+
+packfile=/dev/null
+base=$(basename $packfile)
+
+dose-debcheck ${packfile} 2> /dev/null \
+    | tee ${outdir}/${base}.out \
+    | grep -q "broken-packages: 0"
diff --git a/debian/tests/control b/debian/tests/control
index 09c2d67..29b1424 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,4 +1,4 @@
-Tests: dose-debcheck bug811569
+Tests: dose-debcheck bug811569 bug790422
 Depends: dose-distcheck
 
 Tests: dose-builddebcheck

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-ocaml-maint/packages/dose3.git

_______________________________________________
Pkg-ocaml-maint-commits mailing list
Pkg-ocaml-maint-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ocaml-maint-commits

Reply via email to