mirror of
https://github.com/sheumann/hush.git
synced 2025-08-15 19:27:40 +00:00
Check sed doesnt go into an infinite loop (yes it does)
This commit is contained in:
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
|
Reference in New Issue
Block a user