erase_mtab: do not limit ourself to 40 mtab entries
[oweals/busybox.git] / testsuite / grep.tests
index cc9520e90b9dd9be93ea9c294e91325e8c76b825..ef0de482b5e1f0165fc9ae39f961afc3dd62f033 100755 (executable)
@@ -4,7 +4,7 @@
 # Copyright 2005 by Rob Landley <rob@landley.net>
 # Licensed under GPL v2, see file LICENSE for details.
 
-# AUDIT: 
+# AUDIT:
 
 . testing.sh
 
@@ -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" ""