diff --git a/Makefile b/Makefile index bf2c1d160..ac6095143 100644 --- a/Makefile +++ b/Makefile @@ -256,8 +256,8 @@ clean: docs/busybox pod2htm* *.gdb *.elf *~ core .*config.log \ docs/BusyBox.txt docs/BusyBox.1 docs/BusyBox.html \ docs/busybox.net/BusyBox.html busybox.links libbb/loop.h \ - .config.old busybox testsuite/links/* - - rm -rf _install + .config.old busybox + - rm -rf _install testsuite/links - find . -name .\*.flags -exec rm -f {} \; - find . -name \*.o -exec rm -f {} \; - find . -name \*.a -exec rm -f {} \; diff --git a/testsuite/runtest b/testsuite/runtest index 6a0dc9d3e..6e43fce8e 100755 --- a/testsuite/runtest +++ b/testsuite/runtest @@ -100,6 +100,7 @@ for applet in $applets; do applet=`echo "$applet" | sed -n 's/\.tests$//p'` if [ ${#applet} != 0 ] then + mkdir links 2>/dev/null rm -f links/"$applet" ln -s ../../busybox links/"$applet" PATH=links:$PATH ./"$applet".tests