aboutsummaryrefslogtreecommitdiff
path: root/testsuite/runtest
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2005-09-02 00:41:53 +0000
committerRob Landley <rob@landley.net>2005-09-02 00:41:53 +0000
commit1689075c992a45a4a50f1aaad8aaf1d2983060c8 (patch)
tree679fa07497ea54120459a76464d3257862537b2e /testsuite/runtest
parentbabd3fbba668e04841cbe683ca49097fb871fca8 (diff)
downloadbusybox-1689075c992a45a4a50f1aaad8aaf1d2983060c8.tar.gz
Working on a new test harness. Moved the sort tests into it.
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 6ba334bce..91b794317 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