aboutsummaryrefslogtreecommitdiff
path: root/testsuite/sed.tests
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-04-19 22:36:07 -0400
committerDenys Vlasenko <vda.linux@googlemail.com>2010-04-19 22:36:07 -0400
commit96a18332316568ebccaa186ffb519b48c4310714 (patch)
tree3c3219e8642aa41902d1b1c5d04c2bf71ab5866e /testsuite/sed.tests
parentc175c4664734e5a363d8cc8668c08f551eff1485 (diff)
downloadbusybox-96a18332316568ebccaa186ffb519b48c4310714.tar.gz
sed: fix c cmd
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'testsuite/sed.tests')
-rwxr-xr-xtestsuite/sed.tests5
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/sed.tests b/testsuite/sed.tests
index 875c946be..f88524d07 100755
--- a/testsuite/sed.tests
+++ b/testsuite/sed.tests
@@ -248,4 +248,9 @@ testing "sed beginning (^) matches only once" \
">/usr</>lib<\n" "" \
"/usr/lib\n"
+testing "sed c" \
+ "sed 'crepl'" \
+ "repl\nrepl\n" "" \
+ "first\nsecond\n"
+
exit $FAILCOUNT