diff options
Diffstat (limited to 'testsuite/grep.tests')
-rwxr-xr-x | testsuite/grep.tests | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/grep.tests b/testsuite/grep.tests index 520a1840f..ffce033e6 100755 --- a/testsuite/grep.tests +++ b/testsuite/grep.tests | |||
@@ -98,5 +98,9 @@ testing "grep -o does not loop forever" \ | |||
98 | 'grep -o "[^/]*$"' \ | 98 | 'grep -o "[^/]*$"' \ |
99 | "test\n" \ | 99 | "test\n" \ |
100 | "" "/var/test\n" | 100 | "" "/var/test\n" |
101 | testing "grep -o does not loop forever on zero-length match" \ | ||
102 | 'grep -o "" | head -n1' \ | ||
103 | "" \ | ||
104 | "" "test\n" | ||
101 | 105 | ||
102 | exit $FAILCOUNT | 106 | exit $FAILCOUNT |