aboutsummaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorkraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277>2002-01-02 17:56:38 +0000
committerkraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277>2002-01-02 17:56:38 +0000
commit510e104cd328b9957fec758de3da66169e750f0a (patch)
tree45be2ee19d2f5811a889eecd771fd0f76042e508 /testsuite
parent207c7487a7afc394d119d2ff13f7586bc126246c (diff)
downloadbusybox-w32-510e104cd328b9957fec758de3da66169e750f0a.tar.gz
busybox-w32-510e104cd328b9957fec758de3da66169e750f0a.tar.bz2
busybox-w32-510e104cd328b9957fec758de3da66169e750f0a.zip
* editors/sed.c (parse_edit_command): Require a newline after the backslash
after an edit command. * testsuite/sed/sed-requires-newline-after-edit-command: New. git-svn-id: svn://busybox.net/trunk/busybox@3991 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/sed/sed-requires-newline-after-edit-command1
1 files changed, 1 insertions, 0 deletions
diff --git a/testsuite/sed/sed-requires-newline-after-edit-command b/testsuite/sed/sed-requires-newline-after-edit-command
new file mode 100644
index 000000000..37ebc6608
--- /dev/null
+++ b/testsuite/sed/sed-requires-newline-after-edit-command
@@ -0,0 +1 @@
! busybox sed -e 'i\foo' </dev/null