From 2cf38523a154f1b8de4e8c50ff0e029c95958735 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 1 Apr 2006 01:35:33 +0000 Subject: silence error if busybox.links doesnt exist and run tests that begin with "all_" --- testsuite/runtest | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'testsuite/runtest') diff --git a/testsuite/runtest b/testsuite/runtest index b8c6c77cb..c7f353690 100755 --- a/testsuite/runtest +++ b/testsuite/runtest @@ -98,7 +98,7 @@ fi 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 @@ for applet in $applets; do 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 -- cgit v1.2.3