diff options
author | bug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2003-09-15 04:41:17 +0000 |
---|---|---|
committer | bug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2003-09-15 04:41:17 +0000 |
commit | eb35772120a48a0bb0aa61f8490f03c5331ca87d (patch) | |
tree | 32821cade560c8f3ca70c4d0eb2de4d5ec439f05 | |
parent | c1b6ea2f9ce32effa9c6a7d8a3435ee4bde70be7 (diff) | |
download | busybox-w32-eb35772120a48a0bb0aa61f8490f03c5331ca87d.tar.gz busybox-w32-eb35772120a48a0bb0aa61f8490f03c5331ca87d.tar.bz2 busybox-w32-eb35772120a48a0bb0aa61f8490f03c5331ca87d.zip |
Check sed doesnt go into an infinite loop (yes it does)
git-svn-id: svn://busybox.net/trunk/busybox@7515 69ca8d6d-28ef-0310-b511-8ec308f3f277
-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 | ||