[BusyBox-cvs] busybox/testsuite/sed sed-append-next-line-gnu, NONE, 1.1 sed-append-next-line, 1.1, 1.2

Glenn McGrath bug1 at busybox.net
Tue Sep 16 05:25:46 UTC 2003


Update of /var/cvs/busybox/testsuite/sed
In directory winder:/tmp/cvs-serv1286/testsuite/sed

Modified Files:
	sed-append-next-line 
Added Files:
	sed-append-next-line-gnu 
Log Message:
Configuration option to define wether to follows GNU sed's behaviour
or the posix standard.
Put the cleanup code back the way it was.


Index: sed-append-next-line
===================================================================
RCS file: /var/cvs/busybox/testsuite/sed/sed-append-next-line,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- sed-append-next-line	15 Sep 2003 05:35:47 -0000	1.1
+++ sed-append-next-line	16 Sep 2003 05:25:43 -0000	1.2
@@ -1,4 +1,6 @@
-busybox sed -n 'N;p'>output <<EOF
+# XFAIL
+# This will fail if CONFIG_FEATURE_SED_GNU_COMPATABILITY is defined
+busybox sed 'N;p'>output <<EOF
 a
 b
 c
@@ -6,4 +8,7 @@
 cmp -s output - <<EOF
 a
 b
+a
+b
+c
 EOF

--- NEW FILE: sed-append-next-line-gnu ---
# FEATURE: CONFIG_FEATURE_SED_GNU_COMPATABILITY
busybox sed 'N;p'>output <<EOF
a
b
c
EOF
cmp -s output - <<EOF
a
b
a
b
c

EOF




More information about the busybox-cvs mailing list