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 /testsuite | |
parent | c43f9edf889ee2277b1ae064446ae34178a9c4a9 (diff) | |
download | busybox-w32-ba5eb27ce3de593e18345caa34128fbffdde9e1d.tar.gz busybox-w32-ba5eb27ce3de593e18345caa34128fbffdde9e1d.tar.bz2 busybox-w32-ba5eb27ce3de593e18345caa34128fbffdde9e1d.zip |
Check sed doesnt go into an infinite loop (yes it does)
Diffstat (limited to 'testsuite')
-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 @@ | |||
1 | #XFAIL | ||
2 | busybox sed 's/a/b/;:loop;t loop'>output <<EOF | ||
3 | a | ||
4 | b | ||
5 | c | ||
6 | EOF | ||
7 | cmp -s output - <<EOF | ||
8 | b | ||
9 | b | ||
10 | c | ||
11 | EOF | ||