diff options
author | Mark Whitley <markw@lineo.com> | 2001-05-14 21:18:54 +0000 |
---|---|---|
committer | Mark Whitley <markw@lineo.com> | 2001-05-14 21:18:54 +0000 |
commit | 336480fe6f6539a9b6f1649157db2243445e3334 (patch) | |
tree | 368ea033fdea69c3a512624154e09af230d61daa | |
parent | d928accbbd59732a5d6c536be0adb68b466d603f (diff) | |
download | busybox-336480fe6f6539a9b6f1649157db2243445e3334.tar.gz |
Added some testcases for grep and sed (many more could still be added)
-rw-r--r-- | tests/testcases | 13 |
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 # freeramdisk # fsck.minix - won't test # getopt + # grep +grep -l strdup ../*.c +grep -c strdup ../*.c +# I swear, GNU grep seems broken for this next one +grep -lc strdup ../*.c +grep -cv strdup ../*.c + # gunzip # gzip # halt @@ -262,7 +269,13 @@ touch F ; rm F # rmmod - won't test: dangerous # route # rpmunpack + # sed - we can do some one-liners here; probably needs it's own input file +echo foo | sed -ne '/^$/p' +sed -e '/test$/d' testcases +sed -e '/^echo/d' testcases +sed -e '/test/s/dangerous/PELIGROSO/' testcases + # setkeycodes # sh - note that we cannot test the shell interactively here |