From 96a18332316568ebccaa186ffb519b48c4310714 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Mon, 19 Apr 2010 22:36:07 -0400 Subject: sed: fix c cmd Signed-off-by: Denys Vlasenko --- testsuite/sed.tests | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'testsuite') diff --git a/testsuite/sed.tests b/testsuite/sed.tests index 875c946..f88524d 100755 --- a/testsuite/sed.tests +++ b/testsuite/sed.tests @@ -248,4 +248,9 @@ testing "sed beginning (^) matches only once" \ ">/usrlib<\n" "" \ "/usr/lib\n" +testing "sed c" \ + "sed 'crepl'" \ + "repl\nrepl\n" "" \ + "first\nsecond\n" + exit $FAILCOUNT -- cgit v1.1