diff options
author | Glenn L McGrath <bug1@ihug.co.nz> | 2003-09-15 04:41:17 +0000 |
---|---|---|
committer | Glenn L McGrath <bug1@ihug.co.nz> | 2003-09-15 04:41:17 +0000 |
commit | ba5eb27ce3de593e18345caa34128fbffdde9e1d (patch) | |
tree | 32821cade560c8f3ca70c4d0eb2de4d5ec439f05 | |
parent | c43f9edf889ee2277b1ae064446ae34178a9c4a9 (diff) | |
download | busybox-ba5eb27ce3de593e18345caa34128fbffdde9e1d.tar.gz |
Check sed doesnt go into an infinite loop (yes it does)
-rw-r--r-- | testsuite/sed/sed-branch-conditional2 | 11 |
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 |