diff options
Diffstat (limited to 'testsuite/grep.tests')
-rwxr-xr-x | testsuite/grep.tests | 6 |
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" "" | |||
75 | testing "grep handles multiple regexps" "-e one -e two input ; echo \$?" \ | 72 | testing "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 | 75 | optional FEATURE_GREP_EGREP_ALIAS |
79 | _BB_CONFIG_DEP=FEATURE_GREP_EGREP_ALIAS | ||
80 | testing "grep -E supports extended regexps" "-E fo+" "foo\n" "" "b\ar\nfoo\nbaz" | 76 | testing "grep -E supports extended regexps" "-E fo+" "foo\n" "" "b\ar\nfoo\nbaz" |
81 | 77 | ||
82 | exit $FAILCOUNT | 78 | exit $FAILCOUNT |