[Dctrl-tools-devel] [dctrl-tools] 02/02: Add a test case for grep-dctrl -v.
Antti-Juhani Kaijanaho
ajk at moszumanska.debian.org
Tue Nov 26 10:24:59 UTC 2013
This is an automated email from the git hooks/post-receive script.
ajk pushed a commit to branch master
in repository dctrl-tools.
commit 3eec9e518dcbbaa7e64696b9fb646f898c3c6821
Author: Antti-Juhani Kaijanaho <antti-juhani at kaijanaho.fi>
Date: Tue Nov 26 12:24:55 2013 +0200
Add a test case for grep-dctrl -v.
Signed-off-by: Antti-Juhani Kaijanaho <antti-juhani at kaijanaho.fi>
---
debian/changelog | 1 +
tests/0025.in | 5 +++++
tests/0025.out | 2 ++
tests/0025.sh | 8 ++++++++
4 files changed, 16 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index df3cb02..ed2c586 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ dctrl-tools (2.24) UNRELEASED; urgency=low
* grep-dctrl: Implement -l and -L as in grep.
(This changes the meaning of -l, but I doubt any scripts have relied on it.)
+ * Add a test case for grep-dctrl -v.
-- Antti-Juhani Kaijanaho <ajk at debian.org> Tue, 26 Nov 2013 12:10:51 +0200
diff --git a/tests/0025.in b/tests/0025.in
new file mode 100644
index 0000000..7561ff2
--- /dev/null
+++ b/tests/0025.in
@@ -0,0 +1,5 @@
+Package: a+b
+
+Package: aaab
+
+
diff --git a/tests/0025.out b/tests/0025.out
new file mode 100644
index 0000000..e580d09
--- /dev/null
+++ b/tests/0025.out
@@ -0,0 +1,2 @@
+Package: a+b
+
diff --git a/tests/0025.sh b/tests/0025.sh
new file mode 100644
index 0000000..d92bef8
--- /dev/null
+++ b/tests/0025.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+set -e
+
+LC_ALL=C
+export LC_ALL
+
+$GREP_DCTRL -FPackage aaab -v
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/dctrl-tools.git
More information about the Dctrl-tools-devel
mailing list