[Dctrl-tools-devel] [SCM] Debian control file query tools branch, master, updated. 2.22.2-12-g6a1d34d

Antti-Juhani Kaijanaho ajk at debian.org
Fri Jun 8 21:42:07 UTC 2012


The following commit has been merged in the master branch:
commit 20e6bff973a9d51c3dd5b5a1c67809b4d9001fc4
Author: Antti-Juhani Kaijanaho <ajk at debian.org>
Date:   Fri Jun 8 22:40:20 2012 +0300

    tests/0022.*: New test case, for grep-dctrl --ignore-parse-errors
    
    Signed-off-by: Antti-Juhani Kaijanaho <ajk at debian.org>

diff --git a/debian/changelog b/debian/changelog
index d68030a..3d79907 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,8 +10,10 @@ dctrl-tools (2.23) UNRELEASED; urgency=low
     good idea in any case).
   * Add -Wextra to non-package builds (and clean up the resulting warnings).
   * lib/msg.c (msg_primitive): Write the period before the newline, not after!
+  * tests/0022.{out,err,fails}: New test case, for grep-dctrl
+    --ignore-parse-errors
 
- -- Antti-Juhani Kaijanaho <ajk at debian.org>  Fri, 08 Jun 2012 22:38:22 +0300
+ -- Antti-Juhani Kaijanaho <ajk at debian.org>  Fri, 08 Jun 2012 22:39:44 +0300
 
 dctrl-tools (2.22.2) unstable; urgency=low
 
diff --git a/tests/0022.err b/tests/0022.err
new file mode 100644
index 0000000..fe1cc54
--- /dev/null
+++ b/tests/0022.err
@@ -0,0 +1,6 @@
+../grep-dctrl/grep-dctrl: 0010.in:3: warning: expected a colon.
+../grep-dctrl/grep-dctrl: 0010.in:3: warning: expected a colon.
+../grep-dctrl/grep-dctrl: 0010.in:3: warning: expected a colon.
+../grep-dctrl/grep-dctrl: 0010.in:4: warning: expected a colon.
+../grep-dctrl/grep-dctrl: 0010.in:6: warning: expected a colon.
+../grep-dctrl/grep-dctrl: 0010.in:6: warning: expected a colon.
diff --git a/tests/0006.out b/tests/0022.fails
similarity index 100%
copy from tests/0006.out
copy to tests/0022.fails
diff --git a/tests/0022.out b/tests/0022.out
new file mode 100644
index 0000000..68d7973
--- /dev/null
+++ b/tests/0022.out
@@ -0,0 +1,2 @@
+Foo: bar
+
diff --git a/tests/0022.sh b/tests/0022.sh
new file mode 100644
index 0000000..3397817
--- /dev/null
+++ b/tests/0022.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+set -e
+
+LC_ALL=C
+export LC_ALL
+
+$GREP_DCTRL --ignore-parse-errors '' 0010.in

-- 
Debian control file query tools



More information about the Dctrl-tools-devel mailing list