diff options
Diffstat (limited to 'testsuite/grep.tests')
-rwxr-xr-x | testsuite/grep.tests | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/grep.tests b/testsuite/grep.tests index 4781f2284..5696fa7e1 100755 --- a/testsuite/grep.tests +++ b/testsuite/grep.tests | |||
@@ -127,6 +127,12 @@ testing "grep -Fw doesn't stop on 1st mismatch" \ | |||
127 | "foop foo\n" \ | 127 | "foop foo\n" \ |
128 | "" | 128 | "" |
129 | 129 | ||
130 | testing "grep -w doesn't stop on 1st mismatch" \ | ||
131 | "grep -w foo input" \ | ||
132 | "foop foo\n" \ | ||
133 | "foop foo\n" \ | ||
134 | "" | ||
135 | |||
130 | # testing "test name" "commands" "expected result" "file input" "stdin" | 136 | # testing "test name" "commands" "expected result" "file input" "stdin" |
131 | # file input will be file called "input" | 137 | # file input will be file called "input" |
132 | # test can create a file "actual" instead of writing to stdout | 138 | # test can create a file "actual" instead of writing to stdout |