svn commit: trunk/busybox/testsuite

vda at busybox.net vda at busybox.net
Fri May 2 12:35:00 UTC 2008


Author: vda
Date: 2008-05-02 05:34:59 -0700 (Fri, 02 May 2008)
New Revision: 21920

Log:
fix grep test false positive



Modified:
   trunk/busybox/testsuite/grep.tests


Changeset:
Modified: trunk/busybox/testsuite/grep.tests
===================================================================
--- trunk/busybox/testsuite/grep.tests	2008-05-02 11:20:00 UTC (rev 21919)
+++ trunk/busybox/testsuite/grep.tests	2008-05-02 12:34:59 UTC (rev 21920)
@@ -26,7 +26,9 @@
 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" ""
+# GNU grep (version?) outputs a new line character after the located string
+# even if there is no new line character in the input
+testing "grep (no newline at EOL)" "grep bug input" "bug\n" "bug" ""
 
 >empty
 testing "grep two files" "grep two input empty 2>/dev/null" \




More information about the busybox-cvs mailing list