summaryrefslogtreecommitdiff
path: root/testsuite/runtest
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/runtest')
-rwxr-xr-xtestsuite/runtest4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/runtest b/testsuite/runtest
index 91b7943..6a0dc9d 100755
--- a/testsuite/runtest
+++ b/testsuite/runtest
@@ -97,8 +97,8 @@ for applet in $applets; do
status=1
fi
fi
-
- if [ -f "$applet".tests ]
+ applet=`echo "$applet" | sed -n 's/\.tests$//p'`
+ if [ ${#applet} != 0 ]
then
rm -f links/"$applet"
ln -s ../../busybox links/"$applet"