svn commit: trunk/busybox/testsuite

vapier at busybox.net vapier at busybox.net
Sat Apr 1 01:35:35 UTC 2006


Author: vapier
Date: 2006-03-31 17:35:33 -0800 (Fri, 31 Mar 2006)
New Revision: 14717

Log:
silence error if busybox.links doesnt exist and run tests that begin with "all_"

Modified:
   trunk/busybox/testsuite/runtest


Changeset:
Modified: trunk/busybox/testsuite/runtest
===================================================================
--- trunk/busybox/testsuite/runtest	2006-04-01 01:16:22 UTC (rev 14716)
+++ trunk/busybox/testsuite/runtest	2006-04-01 01:35:33 UTC (rev 14717)
@@ -98,7 +98,7 @@
 LINKSDIR="${bindir}/runtest-tempdir-links"
 rm -rf "$LINKSDIR" 2>/dev/null
 mkdir "$LINKSDIR"
-for i in $(sed 's@/[a-z0-9/\[]*/@@' $bindir/busybox.links)
+for i in $(sed 's@/[a-z0-9/\[]*/@@' $bindir/busybox.links 2>/dev/null)
 do
 	ln -s $bindir/busybox "$LINKSDIR"/$i
 done
@@ -122,7 +122,7 @@
 	applet=$(echo "$applet" | sed -n 's/\.tests$//p')
 	if [ ${#applet} -ne 0 ]
 	then
-		if [ ! -h "$LINKSDIR/$applet" ]
+		if [ ! -h "$LINKSDIR/$applet" ] && [ ${applet:0:4} != "all_" ]
 		then
 			echo "SKIPPED: $applet (not built)"
 			continue



More information about the busybox-cvs mailing list