diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-04-01 01:35:33 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-04-01 01:35:33 +0000 |
commit | 2cf38523a154f1b8de4e8c50ff0e029c95958735 (patch) | |
tree | be18c48d4f674ee7fa3832a9b7d17282a202dd82 /testsuite | |
parent | 43ac88849b9a36948a606a64d94e0369ee7f2ba2 (diff) | |
download | busybox-w32-2cf38523a154f1b8de4e8c50ff0e029c95958735.tar.gz busybox-w32-2cf38523a154f1b8de4e8c50ff0e029c95958735.tar.bz2 busybox-w32-2cf38523a154f1b8de4e8c50ff0e029c95958735.zip |
silence error if busybox.links doesnt exist and run tests that begin with "all_"
Diffstat (limited to 'testsuite')
-rwxr-xr-x | testsuite/runtest | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/runtest b/testsuite/runtest index b8c6c77cb..c7f353690 100755 --- a/testsuite/runtest +++ b/testsuite/runtest | |||
@@ -98,7 +98,7 @@ fi | |||
98 | LINKSDIR="${bindir}/runtest-tempdir-links" | 98 | LINKSDIR="${bindir}/runtest-tempdir-links" |
99 | rm -rf "$LINKSDIR" 2>/dev/null | 99 | rm -rf "$LINKSDIR" 2>/dev/null |
100 | mkdir "$LINKSDIR" | 100 | mkdir "$LINKSDIR" |
101 | for i in $(sed 's@/[a-z0-9/\[]*/@@' $bindir/busybox.links) | 101 | for i in $(sed 's@/[a-z0-9/\[]*/@@' $bindir/busybox.links 2>/dev/null) |
102 | do | 102 | do |
103 | ln -s $bindir/busybox "$LINKSDIR"/$i | 103 | ln -s $bindir/busybox "$LINKSDIR"/$i |
104 | done | 104 | done |
@@ -122,7 +122,7 @@ for applet in $applets; do | |||
122 | applet=$(echo "$applet" | sed -n 's/\.tests$//p') | 122 | applet=$(echo "$applet" | sed -n 's/\.tests$//p') |
123 | if [ ${#applet} -ne 0 ] | 123 | if [ ${#applet} -ne 0 ] |
124 | then | 124 | then |
125 | if [ ! -h "$LINKSDIR/$applet" ] | 125 | if [ ! -h "$LINKSDIR/$applet" ] && [ ${applet:0:4} != "all_" ] |
126 | then | 126 | then |
127 | echo "SKIPPED: $applet (not built)" | 127 | echo "SKIPPED: $applet (not built)" |
128 | continue | 128 | continue |