commit | 7bf8f5bc5e2b4e506936f482a5b55f4e0d044c68 | [log] [tgz] |
---|---|---|
author | Glenn L McGrath <bug1@ihug.co.nz> | Sun Sep 14 11:10:08 2003 +0000 |
committer | Glenn L McGrath <bug1@ihug.co.nz> | Sun Sep 14 11:10:08 2003 +0000 |
tree | 0002e49ed11fe960c3762931a0917cf79f8ee068 | |
parent | 8a0b59fb82790e6eea25ed8048b18670c0ea6e79 [diff] [blame] |
Update sed branch tests
diff --git a/testsuite/sed/sed-branch-conditional b/testsuite/sed/sed-branch-conditional new file mode 100644 index 0000000..47d0a5f --- /dev/null +++ b/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