Check sed doesnt go into an infinite loop (yes it does)
This commit is contained in:
1 parent
c43f9edf88
commit
ba5eb27ce3
1 file changed
+11
@@ -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