summaryrefslogtreecommitdiffhomepage
path: root/testsuite/sed/sed-branch-conditional2
diff options
context:
space:
mode:
authorGlenn L McGrath <bug1@ihug.co.nz>2003-09-15 04:41:17 +0000
committerGlenn L McGrath <bug1@ihug.co.nz>2003-09-15 04:41:17 +0000
commitba5eb27ce3de593e18345caa34128fbffdde9e1d (patch)
tree32821cade560c8f3ca70c4d0eb2de4d5ec439f05 /testsuite/sed/sed-branch-conditional2
parentc43f9edf889ee2277b1ae064446ae34178a9c4a9 (diff)
Check sed doesnt go into an infinite loop (yes it does)
Diffstat (limited to 'testsuite/sed/sed-branch-conditional2')
-rw-r--r--testsuite/sed/sed-branch-conditional211
1 files changed, 11 insertions, 0 deletions
diff --git a/testsuite/sed/sed-branch-conditional2 b/testsuite/sed/sed-branch-conditional2
new file mode 100644
index 000000000..f4b11f0f8
--- /dev/null
+++ b/testsuite/sed/sed-branch-conditional2
@@ -0,0 +1,11 @@
+#XFAIL
+busybox sed 's/a/b/;:loop;t loop'>output <<EOF
+a
+b
+c
+EOF
+cmp -s output - <<EOF
+b
+b
+c
+EOF