diff options
author | Ian Wienand | 2010-04-30 09:32:10 +0200 |
---|---|---|
committer | Denys Vlasenko | 2010-04-30 09:32:10 +0200 |
commit | 0a2c793bd61540629d5686adb5afd2ada19d624f (patch) | |
tree | a40bb43c93cb08dddbe91363d3ae3a8ac63603f3 /testsuite | |
parent | d2844fcb6862c080177aaf314cc98d03e65b05ac (diff) | |
download | busybox-0a2c793bd61540629d5686adb5afd2ada19d624f.zip busybox-0a2c793bd61540629d5686adb5afd2ada19d624f.tar.gz |
grep: fix -Fi
function old new delta
grep_file 1151 1169 +18
Signed-off-by: Ian Wienand <ianw@vmware.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'testsuite')
-rwxr-xr-x | testsuite/grep.tests | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/testsuite/grep.tests b/testsuite/grep.tests index 8692307..d4bf80d 100755 --- a/testsuite/grep.tests +++ b/testsuite/grep.tests @@ -75,6 +75,8 @@ testing "grep handles multiple regexps" "grep -e one -e two input ; echo \$?" \ "one\ntwo\n0\n" "one\ntwo\n" "" testing "grep -F handles multiple expessions" "grep -F -e one -e two input ; echo \$?" \ "one\ntwo\n0\n" "one\ntwo\n" "" +testing "grep -F handles -i" "grep -F -i foo input ; echo \$?" \ + "FOO\n0\n" "FOO\n" "" # -f file/- testing "grep can read regexps from stdin" "grep -f - input ; echo \$?" \ |