summaryrefslogtreecommitdiff
path: root/busybox/testsuite/sed/sed-branch-conditional
diff options
context:
space:
mode:
authornobody2004-10-13 09:42:10 +0000
committernobody2004-10-13 09:42:10 +0000
commit8c59a0bf0e9e2d87b0ff273ea3f0bf05bbbf6373 (patch)
tree1826706cd4fd009fcd14f4f8021005ec8ec0fa59 /busybox/testsuite/sed/sed-branch-conditional
downloadbusybox-8c59a0bf0e9e2d87b0ff273ea3f0bf05bbbf6373.zip
busybox-8c59a0bf0e9e2d87b0ff273ea3f0bf05bbbf6373.tar.gz
This commit was manufactured by cvs2svn to create tag 'busybox_1_00'.
Diffstat (limited to 'busybox/testsuite/sed/sed-branch-conditional')
-rw-r--r--busybox/testsuite/sed/sed-branch-conditional15
1 files changed, 15 insertions, 0 deletions
diff --git a/busybox/testsuite/sed/sed-branch-conditional b/busybox/testsuite/sed/sed-branch-conditional
new file mode 100644
index 0000000..47d0a5f
--- /dev/null
+++ b/busybox/testsuite/sed/sed-branch-conditional
@@ -0,0 +1,15 @@
+busybox sed 's/a/1/;t one;p;: one;p'>output <<EOF
+a
+b
+c
+EOF
+cmp -s output - <<EOF
+1
+1
+b
+b
+b
+c
+c
+c
+EOF