diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-06-04 22:40:48 +0400 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-06-04 22:40:48 +0400 |
commit | 1e34731a6a68e1efdc9180e88f07569973aa093d (patch) | |
tree | cd217ddfc8e6b633018ddd6253089fb2be691bf5 /testsuite | |
parent | 213cc0044543e69f9ca588781ffa567908a5b127 (diff) |
- add testcase for grep bug (http://busybox.net/bugs/view.php?id=887)
The patch for bug #887 seems to work for me..
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 cc9520e90..0654905d2 100755 --- a/testsuite/grep.tests +++ b/testsuite/grep.tests @@ -27,6 +27,8 @@ testing "grep - (specify stdin)" "grep two -" "two\n" "" \ testing "grep input (specify file)" "grep two input" "two\n" \ "one\ntwo\nthree\nthree\nthree\n" "" +testing "grep (no newline at EOL)" "grep bug" "bug" "bug" "" + # Note that this assumes actual is empty. testing "grep input actual (two files)" "grep two input actual 2> /dev/null" \ "input:two\n" "one\ntwo\nthree\nthree\nthree\n" "" |