[BusyBox-cvs] busybox/testsuite/grep grep-matches-NUL,1.2,1.3
Erik Andersen
andersen at busybox.net
Tue Apr 6 11:09:59 UTC 2004
Update of /var/cvs/busybox/testsuite/grep
In directory nail:/tmp/cvs-serv13250/testsuite/grep
Modified Files:
grep-matches-NUL
Log Message:
Kill off the old 'tests' stuff. Write a ton of new tests for the
'testsuite' dir. Fix a bunch of broken tests. Fix the testsuite
'runtest' script so it actually reports all failures and provides
meaningful feedback.
-Erik
Index: grep-matches-NUL
===================================================================
RCS file: /var/cvs/busybox/testsuite/grep/grep-matches-NUL,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- a/grep-matches-NUL 19 Mar 2002 23:46:16 -0000 1.2
+++ b/grep-matches-NUL 6 Apr 2004 11:09:55 -0000 1.3
@@ -1,2 +1,8 @@
-# XFAIL
+set +e
echo -e '\0' | busybox grep .
+if [ $? != 0 ] ; then
+ exit 0;
+fi
+
+exit 1;
+
More information about the busybox-cvs
mailing list