summaryrefslogtreecommitdiff
path: root/testsuite/sed
diff options
context:
space:
mode:
authorEric Andersen2002-04-13 13:18:15 +0000
committerEric Andersen2002-04-13 13:18:15 +0000
commit3e6908b5865d8e3ab3a986cd5a5ad86c4cea7ff5 (patch)
treedb52652f679318e37b258faead58c28dbf974135 /testsuite/sed
parentdb7d5fca5f6a98a68a16bbea7cd71593791c43dc (diff)
downloadbusybox-3e6908b5865d8e3ab3a986cd5a5ad86c4cea7ff5.zip
busybox-3e6908b5865d8e3ab3a986cd5a5ad86c4cea7ff5.tar.gz
Sed can go into an infinite loop
Diffstat (limited to 'testsuite/sed')
-rw-r--r--testsuite/sed/sed-recurses-properly1
1 files changed, 1 insertions, 0 deletions
diff --git a/testsuite/sed/sed-recurses-properly b/testsuite/sed/sed-recurses-properly
new file mode 100644
index 0000000..3210100
--- /dev/null
+++ b/testsuite/sed/sed-recurses-properly
@@ -0,0 +1 @@
+test "$(echo '12345' | busybox sed -e 's/[[:space:]]*/,/g')" = ',1,2,3,4,5,'