mirror of
https://git.busybox.net/busybox
synced 2026-01-31 16:43:21 +00:00
Check sed doesnt go into an infinite loop (yes it does)
This commit is contained in:
parent
c43f9edf88
commit
ba5eb27ce3
1 changed files with 11 additions and 0 deletions
11
testsuite/sed/sed-branch-conditional2
Normal file
11
testsuite/sed/sed-branch-conditional2
Normal file
|
|
@ -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
|
||||
Loading…
Reference in a new issue