[BusyBox-cvs] busybox/testsuite/sed sed-append-next-line,1.2,1.3
Erik Andersen
andersen at busybox.net
Tue Apr 6 11:10:17 UTC 2004
Update of /var/cvs/busybox/testsuite/sed
In directory nail:/tmp/cvs-serv13250/testsuite/sed
Modified Files:
sed-append-next-line
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: sed-append-next-line
===================================================================
RCS file: /var/cvs/busybox/testsuite/sed/sed-append-next-line,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- a/sed-append-next-line 16 Sep 2003 05:25:43 -0000 1.2
+++ b/sed-append-next-line 6 Apr 2004 11:10:13 -0000 1.3
@@ -1,10 +1,11 @@
-# XFAIL
# This will fail if CONFIG_FEATURE_SED_GNU_COMPATABILITY is defined
busybox sed 'N;p'>output <<EOF
a
b
c
EOF
+
+set +e
cmp -s output - <<EOF
a
b
@@ -12,3 +13,7 @@
b
c
EOF
+if [ $? != 0 ] ; then
+ exit 0;
+fi
+exit 1;
More information about the busybox-cvs
mailing list