diff options
Diffstat (limited to 'testsuite/grep.tests')
-rwxr-xr-x | testsuite/grep.tests | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/grep.tests b/testsuite/grep.tests index e57889790..26f8e69cf 100755 --- a/testsuite/grep.tests +++ b/testsuite/grep.tests | |||
@@ -177,6 +177,13 @@ testing "grep -w word match second word" \ | |||
177 | "bword,word\n""wordb,word\n""bwordb,word\n" \ | 177 | "bword,word\n""wordb,word\n""bwordb,word\n" \ |
178 | "" | 178 | "" |
179 | 179 | ||
180 | |||
181 | testing "grep -x -v -e EXP1 -e EXP2 finds nothing if either EXP matches" \ | ||
182 | "grep -x -v -e '.*aa.*' -e 'bb.*'; echo \$?" \ | ||
183 | "1\n" \ | ||
184 | "" \ | ||
185 | " aa bb cc\n" | ||
186 | |||
180 | # -r on symlink to dir should recurse into dir | 187 | # -r on symlink to dir should recurse into dir |
181 | mkdir -p grep.testdir/foo | 188 | mkdir -p grep.testdir/foo |
182 | echo bar > grep.testdir/foo/file | 189 | echo bar > grep.testdir/foo/file |