aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-04-13 13:18:15 +0000
committerEric Andersen <andersen@codepoet.org>2002-04-13 13:18:15 +0000
commit3e6908b5865d8e3ab3a986cd5a5ad86c4cea7ff5 (patch)
treedb52652f679318e37b258faead58c28dbf974135
parentdb7d5fca5f6a98a68a16bbea7cd71593791c43dc (diff)
downloadbusybox-3e6908b5865d8e3ab3a986cd5a5ad86c4cea7ff5.tar.gz
Sed can go into an infinite loop
-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 000000000..32101008f
--- /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,'