summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Eckhardt <ulrich.eckhardt@base-42.de>2022-02-14 19:58:45 +0100
committerJim Meyering <meyering@fb.com>2022-02-15 09:36:18 -0800
commit5c3c427988be22d4d213379624db290ec849a13f (patch)
treed7b87876fb4eb58b98123b37d6358aa3e77f6c4c
parentf31ae6d46de9770586c8ebf55afa39aef3a20c73 (diff)
downloadgrep-5c3c427988be22d4d213379624db290ec849a13f.tar.gz
tests: remove redundant test
* tests/empty: Test #4 is identical to test #1. Remove it.
-rwxr-xr-xtests/empty9
1 files changed, 1 insertions, 8 deletions
diff --git a/tests/empty b/tests/empty
index 8e070e7a..44b691d2 100755
--- a/tests/empty
+++ b/tests/empty
@@ -40,16 +40,9 @@ for locale in C en_US.UTF-8; do
fi
# should return 0 found a match
- echo "" | LC_ALL=$locale timeout 10s grep $options -e ''
- if test $? -ne 0 ; then
- echo "Status: Wrong status code, test \#4 failed ($options $locale)"
- failures=1
- fi
-
- # should return 0 found a match
echo abcd | LC_ALL=$locale timeout 10s grep $options -e ''
if test $? -ne 0 ; then
- echo "Status: Wrong status code, test \#5 failed ($options $locale)"
+ echo "Status: Wrong status code, test \#4 failed ($options $locale)"
failures=1
fi
done