diff options
author | aldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-06-04 18:40:48 +0000 |
---|---|---|
committer | aldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-06-04 18:40:48 +0000 |
commit | 4bfad2c6d1fcb96fceb7c04f204ef8b429c62531 (patch) | |
tree | cd217ddfc8e6b633018ddd6253089fb2be691bf5 | |
parent | 68aa7d0ee08790dfc06ebea14f1145fe30c1a6d8 (diff) | |
download | busybox-w32-4bfad2c6d1fcb96fceb7c04f204ef8b429c62531.tar.gz busybox-w32-4bfad2c6d1fcb96fceb7c04f204ef8b429c62531.tar.bz2 busybox-w32-4bfad2c6d1fcb96fceb7c04f204ef8b429c62531.zip |
- add testcase for grep bug (http://busybox.net/bugs/view.php?id=887)
The patch for bug #887 seems to work for me..
git-svn-id: svn://busybox.net/trunk/busybox@15283 69ca8d6d-28ef-0310-b511-8ec308f3f277
-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" "" \ | |||
27 | testing "grep input (specify file)" "grep two input" "two\n" \ | 27 | testing "grep input (specify file)" "grep two input" "two\n" \ |
28 | "one\ntwo\nthree\nthree\nthree\n" "" | 28 | "one\ntwo\nthree\nthree\nthree\n" "" |
29 | 29 | ||
30 | testing "grep (no newline at EOL)" "grep bug" "bug" "bug" "" | ||
31 | |||
30 | # Note that this assumes actual is empty. | 32 | # Note that this assumes actual is empty. |
31 | testing "grep input actual (two files)" "grep two input actual 2> /dev/null" \ | 33 | testing "grep input actual (two files)" "grep two input actual 2> /dev/null" \ |
32 | "input:two\n" "one\ntwo\nthree\nthree\nthree\n" "" | 34 | "input:two\n" "one\ntwo\nthree\nthree\nthree\n" "" |