The testsuite/links directory wasn't being created.

This commit is contained in:
Rob Landley 2005-09-20 14:09:57 +00:00
parent 7fe6520e75
commit 90252bb4c9
2 changed files with 3 additions and 2 deletions

View File

@ -256,8 +256,8 @@ clean:
docs/busybox pod2htm* *.gdb *.elf *~ core .*config.log \ docs/busybox pod2htm* *.gdb *.elf *~ core .*config.log \
docs/BusyBox.txt docs/BusyBox.1 docs/BusyBox.html \ docs/BusyBox.txt docs/BusyBox.1 docs/BusyBox.html \
docs/busybox.net/BusyBox.html busybox.links libbb/loop.h \ docs/busybox.net/BusyBox.html busybox.links libbb/loop.h \
.config.old busybox testsuite/links/* .config.old busybox
- rm -rf _install - rm -rf _install testsuite/links
- find . -name .\*.flags -exec rm -f {} \; - find . -name .\*.flags -exec rm -f {} \;
- find . -name \*.o -exec rm -f {} \; - find . -name \*.o -exec rm -f {} \;
- find . -name \*.a -exec rm -f {} \; - find . -name \*.a -exec rm -f {} \;

View File

@ -100,6 +100,7 @@ for applet in $applets; do
applet=`echo "$applet" | sed -n 's/\.tests$//p'` applet=`echo "$applet" | sed -n 's/\.tests$//p'`
if [ ${#applet} != 0 ] if [ ${#applet} != 0 ]
then then
mkdir links 2>/dev/null
rm -f links/"$applet" rm -f links/"$applet"
ln -s ../../busybox links/"$applet" ln -s ../../busybox links/"$applet"
PATH=links:$PATH ./"$applet".tests PATH=links:$PATH ./"$applet".tests