diff options
author | Denys Vlasenko | 2010-04-20 04:00:03 -0400 |
---|---|---|
committer | Denys Vlasenko | 2010-04-20 04:00:03 -0400 |
commit | f2c16edf99486a0ce2ca57f111831668e77d0fd1 (patch) | |
tree | 67789d2c4afa727c52db4573b26b50d6c5253ac5 /testsuite | |
parent | 96a18332316568ebccaa186ffb519b48c4310714 (diff) | |
download | busybox-f2c16edf99486a0ce2ca57f111831668e77d0fd1.zip busybox-f2c16edf99486a0ce2ca57f111831668e77d0fd1.tar.gz |
sed: fix nested {} case
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'testsuite')
-rwxr-xr-x | testsuite/sed.tests | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/sed.tests b/testsuite/sed.tests index f88524d..b0de965 100755 --- a/testsuite/sed.tests +++ b/testsuite/sed.tests @@ -253,4 +253,9 @@ testing "sed c" \ "repl\nrepl\n" "" \ "first\nsecond\n" +testing "sed nested {}s" \ + "sed '/asd/ { p; /s/ { s/s/c/ }; p; q }'" \ + "qwe\nasd\nacd\nacd\n" "" \ + "qwe\nasd\nzxc\n" + exit $FAILCOUNT |