aboutsummaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-01-29 17:10:19 +0000
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-01-29 17:10:19 +0000
commitf8c312083a59153e627f3795581663bc1afe03fa (patch)
tree3ecbd8b554f6a4c82f9b03d29087914f3d8a9623 /testsuite
parent531a4b43c3f7e390833d17a713fd4f8bd80109db (diff)
downloadbusybox-w32-f8c312083a59153e627f3795581663bc1afe03fa.tar.gz
busybox-w32-f8c312083a59153e627f3795581663bc1afe03fa.tar.bz2
busybox-w32-f8c312083a59153e627f3795581663bc1afe03fa.zip
add to testsuite and fix yet another sed corner case
git-svn-id: svn://busybox.net/trunk/busybox@17639 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'testsuite')
-rwxr-xr-xtestsuite/sed.tests3
1 files changed, 3 insertions, 0 deletions
diff --git a/testsuite/sed.tests b/testsuite/sed.tests
index cc200703d..9576b6c4b 100755
--- a/testsuite/sed.tests
+++ b/testsuite/sed.tests
@@ -143,6 +143,9 @@ testing "sed subst+write" \
143 "sed -e 's/i/z/' -e 'woutputw' input -; echo -n X; cat outputw" \ 143 "sed -e 's/i/z/' -e 'woutputw' input -; echo -n X; cat outputw" \
144 "thzngy\nagaznXthzngy\nagazn" "thingy" "again" 144 "thzngy\nagaznXthzngy\nagazn" "thingy" "again"
145rm outputw 145rm outputw
146testing "sed trailing NUL" \
147 "sed 's/i/z/' input -" \
148 "a\0b\0\nc" "a\0b\0" "c"
146 149
147# Test end-of-file matching behavior 150# Test end-of-file matching behavior
148 151