aboutsummaryrefslogtreecommitdiff
path: root/testsuite/grep.tests
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/grep.tests')
-rwxr-xr-xtestsuite/grep.tests4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/grep.tests b/testsuite/grep.tests
index 34c0fe4f7..b2de2af54 100755
--- a/testsuite/grep.tests
+++ b/testsuite/grep.tests
@@ -78,6 +78,10 @@ testing "grep handles multiple regexps" "grep -e one -e two input ; echo \$?" \
78testing "grep -F handles multiple expessions" "grep -F -e one -e two input ; echo \$?" \ 78testing "grep -F handles multiple expessions" "grep -F -e one -e two input ; echo \$?" \
79 "one\ntwo\n0\n" "one\ntwo\n" "" 79 "one\ntwo\n0\n" "one\ntwo\n" ""
80 80
81# -f file/-
82testing "grep can read regexps from stdin" "grep -f - input ; echo \$?" \
83 "two\nthree\n0\n" "tw\ntwo\nthree\n" "tw.\nthr\n"
84
81optional FEATURE_GREP_EGREP_ALIAS 85optional FEATURE_GREP_EGREP_ALIAS
82testing "grep -E supports extended regexps" "grep -E fo+" "foo\n" "" \ 86testing "grep -E supports extended regexps" "grep -E fo+" "foo\n" "" \
83 "b\ar\nfoo\nbaz" 87 "b\ar\nfoo\nbaz"