aboutsummaryrefslogtreecommitdiff
path: root/testsuite/grep.tests
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/grep.tests')
-rwxr-xr-xtestsuite/grep.tests6
1 files changed, 1 insertions, 5 deletions
diff --git a/testsuite/grep.tests b/testsuite/grep.tests
index c4f534d1a..2a7a7b901 100755
--- a/testsuite/grep.tests
+++ b/testsuite/grep.tests
@@ -9,9 +9,6 @@
9[ ${#COMMAND} -eq 0 ] && COMMAND=grep 9[ ${#COMMAND} -eq 0 ] && COMMAND=grep
10. testing.sh 10. testing.sh
11 11
12# Depends on grep
13_BB_CONFIG_DEP=grep
14
15# testing "test name" "options" "expected result" "file input" "stdin" 12# testing "test name" "options" "expected result" "file input" "stdin"
16# file input will be file called "input" 13# file input will be file called "input"
17# test can create a file "actual" instead of writing to stdout 14# test can create a file "actual" instead of writing to stdout
@@ -75,8 +72,7 @@ testing "grep matches NUL" ". input > /dev/null 2>&1 ; echo \$?" "0\n" "\0\n" ""
75testing "grep handles multiple regexps" "-e one -e two input ; echo \$?" \ 72testing "grep handles multiple regexps" "-e one -e two input ; echo \$?" \
76 "one\ntwo\n0\n" "one\ntwo\n" "" 73 "one\ntwo\n0\n" "one\ntwo\n" ""
77 74
78# Depends on FEATURE_GREP_EGREP_ALIAS 75optional FEATURE_GREP_EGREP_ALIAS
79_BB_CONFIG_DEP=FEATURE_GREP_EGREP_ALIAS
80testing "grep -E supports extended regexps" "-E fo+" "foo\n" "" "b\ar\nfoo\nbaz" 76testing "grep -E supports extended regexps" "-E fo+" "foo\n" "" "b\ar\nfoo\nbaz"
81 77
82exit $FAILCOUNT 78exit $FAILCOUNT