aboutsummaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2014-09-16 01:11:13 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2014-09-16 01:11:13 +0200
commit9caea2448e168560de306a1496574dd58c645fea (patch)
tree33c156525649779bfcff3a5f0b9711a23704dbf6 /testsuite
parent7666fa1d02b4e7e74a83833881caef09b475b88b (diff)
downloadbusybox-w32-9caea2448e168560de306a1496574dd58c645fea.tar.gz
busybox-w32-9caea2448e168560de306a1496574dd58c645fea.tar.bz2
busybox-w32-9caea2448e168560de306a1496574dd58c645fea.zip
sed: fix a buglet in s///NUM handling
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'testsuite')
-rwxr-xr-xtestsuite/sed.tests4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/sed.tests b/testsuite/sed.tests
index 9494ac2de..19f2915ce 100755
--- a/testsuite/sed.tests
+++ b/testsuite/sed.tests
@@ -329,6 +329,10 @@ line with \\
329continuation 329continuation
330" 330"
331 331
332testing "sed s///NUM test" \
333 "sed -e 's/a/b/2; s/a/c/g'" \
334 "cb\n" "" "aa\n"
335
332# testing "description" "commands" "result" "infile" "stdin" 336# testing "description" "commands" "result" "infile" "stdin"
333 337
334exit $FAILCOUNT 338exit $FAILCOUNT