Diff of /trunk/mkinitrd-magellan/busybox/testsuite/sed.tests
Parent Directory | Revision Log | Patch
revision 991 by niro, Sun May 30 11:32:42 2010 UTC | revision 992 by niro, Sun May 30 11:43:19 2010 UTC | |
---|---|---|
# | Line 248 testing "sed beginning (^) matches only | Line 248 testing "sed beginning (^) matches only |
248 | ">/usr</>lib<\n" "" \ | ">/usr</>lib<\n" "" \ |
249 | "/usr/lib\n" | "/usr/lib\n" |
250 | ||
251 | testing "sed c" \ | |
252 | "sed 'crepl'" \ | |
253 | "repl\nrepl\n" "" \ | |
254 | "first\nsecond\n" | |
255 | ||
256 | testing "sed nested {}s" \ | |
257 | "sed '/asd/ { p; /s/ { s/s/c/ }; p; q }'" \ | |
258 | "qwe\nasd\nacd\nacd\n" "" \ | |
259 | "qwe\nasd\nzxc\n" | |
260 | ||
261 | testing "sed a cmd ended by double backslash" \ | |
262 | "sed -e '/| one /a \\ | |
263 | | three \\\\' -e '/| one-/a \\ | |
264 | | three-* \\\\'" \ | |
265 | ' | one \\ | |
266 | | three \\ | |
267 | | two \\ | |
268 | ' '' \ | |
269 | ' | one \\ | |
270 | | two \\ | |
271 | ' | |
272 | ||
273 | # testing "description" "arguments" "result" "infile" "stdin" | |
274 | ||
275 | exit $FAILCOUNT | exit $FAILCOUNT |
|