diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2023-01-14 01:08:21 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2023-01-14 02:06:25 -0800 |
commit | 6de66dd6be1e809f398477dfb2223341e38afce4 (patch) | |
tree | a01d8f03b8c14823d1e11e513c71136c850fda70 | |
parent | c9a77fa5bfe399124619e9fefb7068bffb2d9532 (diff) | |
download | grep-6de66dd6be1e809f398477dfb2223341e38afce4.tar.gz |
tests: omit duplicate tests
* tests/skip-read: Omit duplicates. Reported by Bruno Haible in:
https://lists.gnu.org/r/grep-devel/2023-01/msg00003.html
-rwxr-xr-x | tests/skip-read | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/tests/skip-read b/tests/skip-read index 1e9e7184..0006443e 100755 --- a/tests/skip-read +++ b/tests/skip-read @@ -9,12 +9,10 @@ echo /dev/null >exp || framework_failure_ for opts in '-m0 y' '-f /dev/null' '-v ""'; do for matcher in '' -E -F; do - for file in /dev/null no-such-file; do - eval returns_ 1 grep $opts $matcher no-such-file > out || fail=1 - compare /dev/null out || fail=1 - eval returns_ 1 grep -l $opts $matcher /dev/null > out || fail=1 - compare /dev/null out || fail=1 - done + eval returns_ 1 grep $opts $matcher no-such-file > out || fail=1 + compare /dev/null out || fail=1 + eval returns_ 1 grep -l $opts $matcher /dev/null > out || fail=1 + compare /dev/null out || fail=1 eval returns_ 1 grep -L $opts $matcher /dev/null > out || fail=1 compare exp out || fail=1 eval returns_ 1 grep -L $opts $matcher /dev/null > /dev/null || fail=1 |