Check sed doesnt go into an infinite loop (yes it does)
authorGlenn L McGrath <bug1@ihug.co.nz>
Mon, 15 Sep 2003 04:41:17 +0000 (04:41 -0000)
committerGlenn L McGrath <bug1@ihug.co.nz>
Mon, 15 Sep 2003 04:41:17 +0000 (04:41 -0000)
testsuite/sed/sed-branch-conditional2 [new file with mode: 0644]

diff --git a/testsuite/sed/sed-branch-conditional2 b/testsuite/sed/sed-branch-conditional2
new file mode 100644 (file)
index 0000000..f4b11f0
--- /dev/null
@@ -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