aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/testcases10
1 files changed, 9 insertions, 1 deletions
diff --git a/tests/testcases b/tests/testcases
index 5043c309e..a38d31770 100644
--- a/tests/testcases
+++ b/tests/testcases
@@ -294,11 +294,19 @@ route
294 294
295# rpmunpack 295# rpmunpack
296 296
297# sed - we can do some one-liners here; probably needs it's own input file 297# sed - we can do some one-liners here, some testing is a little
298# difficult to do in just this space (like a,i,c cmds).
299
300# test ^$ matching
298echo foo | sed -ne '/^$/p' 301echo foo | sed -ne '/^$/p'
302echo -e "foo\\n\\nbar" | sed -ne '/^$/p'
303
299sed -e '/test$/d' testcases 304sed -e '/test$/d' testcases
300sed -e '/^echo/d' testcases 305sed -e '/^echo/d' testcases
301sed -e '/test/s/dangerous/PELIGROSO/' testcases 306sed -e '/test/s/dangerous/PELIGROSO/' testcases
307sed -ne '1,/getopt/p' ../pwd.c
308sed -e '/getopt/r ../pwd.c' ../sed.c
309
302 310
303# setkeycodes 311# setkeycodes
304 312