summaryrefslogtreecommitdiff
path: root/tests/bug641255.sh
diff options
context:
space:
mode:
authorAntti-Juhani Kaijanaho <ajk@debian.org>2011-11-27 20:21:29 +0200
committerAntti-Juhani Kaijanaho <ajk@debian.org>2011-11-27 20:21:29 +0200
commitb0b6ee762f68f36999abc600e517f47af86cc608 (patch)
tree95964a893725488c51dc2149bed329252151f084 /tests/bug641255.sh
parent2510027ea14a15c7579b89e4c72491da1d69bef8 (diff)
downloaddctrl-tools-b0b6ee762f68f36999abc600e517f47af86cc608.tar.gz
Fix #641255: Output even a zero count (and exit successfully)
Signed-off-by: Antti-Juhani Kaijanaho <ajk@debian.org>
Diffstat (limited to 'tests/bug641255.sh')
-rw-r--r--tests/bug641255.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/bug641255.sh b/tests/bug641255.sh
new file mode 100644
index 0000000..d526a9f
--- /dev/null
+++ b/tests/bug641255.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+set -e
+
+LC_ALL=C
+export LC_ALL
+
+$GREP_DCTRL -c -FFoo xyzzy