mirror of
https://github.com/sheumann/hush.git
synced 2024-09-12 00:55:11 +00:00
Check sed doesnt go into an infinite loop (yes it does)
This commit is contained in:
parent
c43f9edf88
commit
ba5eb27ce3
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 New Issue
Block a user