projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bc: fix for() to not leave data on stack
[oweals/busybox.git]
/
testsuite
/
sed.tests
diff --git
a/testsuite/sed.tests
b/testsuite/sed.tests
index 05c00a99b8a441a7a6a5e24637743bdcba9df757..675cb4f10f73859bc0e3c6b822f38d41ad7bc2d3 100755
(executable)
--- a/
testsuite/sed.tests
+++ b/
testsuite/sed.tests
@@
-387,6
+387,12
@@
testing "sed 's///w FILE'" \
"" \
"123\nqwe\nasd\n"
+testing "sed uses previous regexp" \
+ "sed '/w/p;//q'" \
+ "q\nw\nw\n" \
+ "" \
+ "q\nw\ne\nr\n"
+
# testing "description" "commands" "result" "infile" "stdin"
exit $FAILCOUNT