mirror of
https://github.com/sheumann/hush.git
synced 2024-12-21 23:29:34 +00:00
- add testcase for grep bug (http://busybox.net/bugs/view.php?id=887)
The patch for bug #887 seems to work for me..
This commit is contained in:
parent
213cc00445
commit
1e34731a6a
@ -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" ""
|
||||
|
Loading…
Reference in New Issue
Block a user