diff options
Diffstat (limited to 'testsuite/grep.tests')
-rwxr-xr-x | testsuite/grep.tests | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/testsuite/grep.tests b/testsuite/grep.tests index 006a215e1..4781f2284 100755 --- a/testsuite/grep.tests +++ b/testsuite/grep.tests | |||
@@ -115,6 +115,18 @@ testing "grep -v -f EMPTY_FILE" \ | |||
115 | "" \ | 115 | "" \ |
116 | "test\n" | 116 | "test\n" |
117 | 117 | ||
118 | testing "grep -Fw matches only words" \ | ||
119 | "grep -Fw foo input" \ | ||
120 | "" \ | ||
121 | "foop\n" \ | ||
122 | "" | ||
123 | |||
124 | testing "grep -Fw doesn't stop on 1st mismatch" \ | ||
125 | "grep -Fw foo input" \ | ||
126 | "foop foo\n" \ | ||
127 | "foop foo\n" \ | ||
128 | "" | ||
129 | |||
118 | # testing "test name" "commands" "expected result" "file input" "stdin" | 130 | # testing "test name" "commands" "expected result" "file input" "stdin" |
119 | # file input will be file called "input" | 131 | # file input will be file called "input" |
120 | # test can create a file "actual" instead of writing to stdout | 132 | # test can create a file "actual" instead of writing to stdout |