summaryrefslogtreecommitdiff
path: root/testsuite/runtest
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/runtest')
-rwxr-xr-xtestsuite/runtest10
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/runtest b/testsuite/runtest
index 6ba334b..91b7943 100755
--- a/testsuite/runtest
+++ b/testsuite/runtest
@@ -97,6 +97,16 @@ for applet in $applets; do
status=1
fi
fi
+
+ if [ -f "$applet".tests ]
+ then
+ rm -f links/"$applet"
+ ln -s ../../busybox links/"$applet"
+ PATH=links:$PATH ./"$applet".tests
+ if [ $? -ne 0 ]; then status=1; fi
+ fi
+
+
done
exit $status