aboutsummaryrefslogtreecommitdiff
path: root/testsuite/sed/sed-branch
diff options
context:
space:
mode:
authorGlenn L McGrath <bug1@ihug.co.nz>2003-09-14 11:10:08 +0000
committerGlenn L McGrath <bug1@ihug.co.nz>2003-09-14 11:10:08 +0000
commit7bf8f5bc5e2b4e506936f482a5b55f4e0d044c68 (patch)
tree0002e49ed11fe960c3762931a0917cf79f8ee068 /testsuite/sed/sed-branch
parent8a0b59fb82790e6eea25ed8048b18670c0ea6e79 (diff)
downloadbusybox-7bf8f5bc5e2b4e506936f482a5b55f4e0d044c68.tar.gz
Update sed branch tests
Diffstat (limited to 'testsuite/sed/sed-branch')
-rw-r--r--testsuite/sed/sed-branch16
1 files changed, 1 insertions, 15 deletions
diff --git a/testsuite/sed/sed-branch b/testsuite/sed/sed-branch
index 47d0a5ff2..4167569ad 100644
--- a/testsuite/sed/sed-branch
+++ b/testsuite/sed/sed-branch
@@ -1,15 +1 @@
-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
+test "$(echo foo | busybox sed 'b one;p;: one')" = foo