Fixup 'make clean' to properly clean the _install directory
[oweals/busybox.git] / tests / testcases
index 64d406a8a0b67088964b030b48104d500703d56b..37e7412605c9760bb2a33dfc26925ac630bcdd9f 100644 (file)
@@ -156,12 +156,12 @@ free
 # getopt
 
 # grep
-grep -l strdup ../*.c
-grep -c strdup ../*.c
-grep -lc strdup ../*.c
-grep -cv strdup ../*.c
-grep -i null ../grep.c
-grep -e strdup -e regcomp -e atexit ../grep.c
+grep -l strdup ../*utils/*.c
+grep -c strdup ../*utils/*.c
+grep -lc strdup ../*utils/*.c
+grep -cv strdup ../*utils/*.c
+grep -i null ../findutils/grep.c
+grep -e strdup -e regcomp -e atexit ../findutils/grep.c
 
 # gunzip
 
@@ -199,7 +199,7 @@ id -un
 
 
 # ifconfig
-# requires BB_FEATURE_IFCONFIG_STATUS
+# requires CONFIG_FEATURE_IFCONFIG_STATUS
 ifconfig
 #ifconfig -a
 #ifconfig eth0
@@ -292,13 +292,21 @@ touch F ; rm F
 # XXX: doesn't DNS resolve
 route
 
-# rpmunpack
+# rpm2cpio
 
-# sed - we can do some one-liners here; probably needs it's own input file
+# sed - we can do some one-liners here, some testing is a little
+# difficult to do in just this space (like a,i,c cmds).
+
+# test ^$ matching
 echo foo | sed -ne '/^$/p'
+echo -e "foo\\n\\nbar" | sed -ne '/^$/p'
+
 sed -e '/test$/d' testcases
 sed -e '/^echo/d' testcases
 sed -e '/test/s/dangerous/PELIGROSO/' testcases
+sed -ne '1,/getopt/p' ../shellutils/pwd.c
+sed -e '/getopt/r ../shellutils/pwd.c' ../editors/sed.c
+
 
 # setkeycodes
 
@@ -306,7 +314,7 @@ sed -e '/test/s/dangerous/PELIGROSO/' testcases
 sh -c "echo a b c"
 sh -c ">"
 sh -c "a"
-#sh sh.testcases
+sh sh.testcases
 
 
 # sleep - can't test: produces no output
@@ -393,3 +401,4 @@ ls -1 ../e* | xargs
 ls -1 ../e* | xargs md5sum
 
 # yes - can't test: interactive (needs ^C)
+