aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authormarkw <markw@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-05-14 21:18:54 +0000
committermarkw <markw@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-05-14 21:18:54 +0000
commited58a5f685dc13e2f920b178704b0b606a44bd27 (patch)
tree368ea033fdea69c3a512624154e09af230d61daa /tests
parentba97d5cfe9a697d54af21a40f54388dfdc405e76 (diff)
downloadbusybox-w32-ed58a5f685dc13e2f920b178704b0b606a44bd27.tar.gz
busybox-w32-ed58a5f685dc13e2f920b178704b0b606a44bd27.tar.bz2
busybox-w32-ed58a5f685dc13e2f920b178704b0b606a44bd27.zip
Added some testcases for grep and sed (many more could still be added)
git-svn-id: svn://busybox.net/trunk/busybox@2642 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'tests')
-rw-r--r--tests/testcases13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/testcases b/tests/testcases
index 5933c3b10..f636e17ea 100644
--- a/tests/testcases
+++ b/tests/testcases
@@ -147,7 +147,14 @@ free
147# freeramdisk 147# freeramdisk
148# fsck.minix - won't test 148# fsck.minix - won't test
149# getopt 149# getopt
150
150# grep 151# grep
152grep -l strdup ../*.c
153grep -c strdup ../*.c
154# I swear, GNU grep seems broken for this next one
155grep -lc strdup ../*.c
156grep -cv strdup ../*.c
157
151# gunzip 158# gunzip
152# gzip 159# gzip
153# halt 160# halt
@@ -262,7 +269,13 @@ touch F ; rm F
262# rmmod - won't test: dangerous 269# rmmod - won't test: dangerous
263# route 270# route
264# rpmunpack 271# rpmunpack
272
265# sed - we can do some one-liners here; probably needs it's own input file 273# sed - we can do some one-liners here; probably needs it's own input file
274echo foo | sed -ne '/^$/p'
275sed -e '/test$/d' testcases
276sed -e '/^echo/d' testcases
277sed -e '/test/s/dangerous/PELIGROSO/' testcases
278
266# setkeycodes 279# setkeycodes
267 280
268# sh - note that we cannot test the shell interactively here 281# sh - note that we cannot test the shell interactively here