aboutsummaryrefslogtreecommitdiff
path: root/testsuite/sed/sed-branch
diff options
context:
space:
mode:
authorGlenn L McGrath <bug1@ihug.co.nz>2003-09-14 09:38:24 +0000
committerGlenn L McGrath <bug1@ihug.co.nz>2003-09-14 09:38:24 +0000
commit8a0b59fb82790e6eea25ed8048b18670c0ea6e79 (patch)
tree1b96f2034df077a23b9d9b251e3b040770bcbd92 /testsuite/sed/sed-branch
parentedc388cf4ef381282d13e2873694e3c9032214e4 (diff)
downloadbusybox-8a0b59fb82790e6eea25ed8048b18670c0ea6e79.tar.gz
Add two new tests, sed-recurses-properly should always work
Diffstat (limited to 'testsuite/sed/sed-branch')
-rw-r--r--testsuite/sed/sed-branch15
1 files changed, 15 insertions, 0 deletions
diff --git a/testsuite/sed/sed-branch b/testsuite/sed/sed-branch
new file mode 100644
index 000000000..47d0a5ff2
--- /dev/null
+++ b/testsuite/sed/sed-branch
@@ -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