summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntti-Juhani Kaijanaho <ajk@debian.org>2011-10-22 15:20:16 +0300
committerAntti-Juhani Kaijanaho <ajk@debian.org>2011-10-22 15:20:16 +0300
commit7b3186259a35680cb7a2216246694a7349910732 (patch)
treed4764ee119c7279ca91ec8ca83e44cf37d5f6f42
parentf91ebc7932df8b762300fb2cf17e21f00a6264fd (diff)
downloaddctrl-tools-7b3186259a35680cb7a2216246694a7349910732.tar.gz
Add a failing test for grep-dctrl -w
Signed-off-by: Antti-Juhani Kaijanaho <ajk@debian.org>
-rw-r--r--tests/0020.in4
-rw-r--r--tests/0020.out2
-rw-r--r--tests/0020.sh10
3 files changed, 16 insertions, 0 deletions
diff --git a/tests/0020.in b/tests/0020.in
new file mode 100644
index 0000000..3273150
--- /dev/null
+++ b/tests/0020.in
@@ -0,0 +1,4 @@
+Depends: foo, libprce3-dev, bar
+
+Depends: foo, libprce3, bar
+
diff --git a/tests/0020.out b/tests/0020.out
new file mode 100644
index 0000000..8f4885a
--- /dev/null
+++ b/tests/0020.out
@@ -0,0 +1,2 @@
+Depends: foo, libprce3, bar
+
diff --git a/tests/0020.sh b/tests/0020.sh
new file mode 100644
index 0000000..d7203d0
--- /dev/null
+++ b/tests/0020.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+set -e
+
+LC_ALL=C
+export LC_ALL
+
+$GREP_DCTRL -FDepends -w libprce3
+
+