summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAntti-Juhani Kaijanaho <ajk@debian.org>2011-07-28 13:13:39 +0300
committerAntti-Juhani Kaijanaho <ajk@debian.org>2011-07-28 13:13:39 +0300
commit6c39ef693c947528d507866e4c3d5e91876cbafc (patch)
tree309a71d33b7919337a845efcafeea7845e47710f /tests
parent9f8d56c2adff6e88ad4b4806ccae0b5d565e9f9e (diff)
downloaddctrl-tools-6c39ef693c947528d507866e4c3d5e91876cbafc.tar.gz
Add test for #209134
Signed-off-by: Antti-Juhani Kaijanaho <ajk@debian.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/bug209134.in1
-rw-r--r--tests/bug209134.out2
-rw-r--r--tests/bug209134.sh5
3 files changed, 8 insertions, 0 deletions
diff --git a/tests/bug209134.in b/tests/bug209134.in
new file mode 100644
index 0000000..db12b07
--- /dev/null
+++ b/tests/bug209134.in
@@ -0,0 +1 @@
+FOO: bar
diff --git a/tests/bug209134.out b/tests/bug209134.out
new file mode 100644
index 0000000..1cb20a2
--- /dev/null
+++ b/tests/bug209134.out
@@ -0,0 +1,2 @@
+FOO: bar
+
diff --git a/tests/bug209134.sh b/tests/bug209134.sh
new file mode 100644
index 0000000..00741da
--- /dev/null
+++ b/tests/bug209134.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+set -e
+
+${GREP_DCTRL:-grep-dctrl} -sFoo ''