diff options
Diffstat (limited to 'tests/grep.test')
-rwxr-xr-x | tests/grep.test | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/grep.test b/tests/grep.test index 05288983..cd1e1fda 100755 --- a/tests/grep.test +++ b/tests/grep.test @@ -154,3 +154,5 @@ testing "explicit ERE |" "grep -E 'uno|dos'" "uno\ndos\nuno|dos\n" \ testing "" "grep -o -e iss -e ipp" "iss\niss\nipp\n" "" "mississippi" testing "" "grep -o -e gum -e rgu" "rgu\n" "" "argument" + +testing "early failure" 'grep --what 2>/dev/null || echo $?' "2\n" "" "" |