summaryrefslogtreecommitdiffhomepage
path: root/testsuite/runtest
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/runtest')
-rwxr-xr-xtestsuite/runtest11
1 files changed, 6 insertions, 5 deletions
diff --git a/testsuite/runtest b/testsuite/runtest
index 7411aec64..32ff462d7 100755
--- a/testsuite/runtest
+++ b/testsuite/runtest
@@ -90,21 +90,22 @@ else
fi
for applet in $applets; do
- if [ "$applet" == links ]; then continue; fi
- if [ "$applet" != CVS -a -d "$srcdir/$applet" ]; then
+ if [ "$applet" = "links" ]; then continue; fi
+ if [ "$applet" != "CVS" -a -d "$srcdir/$applet" ]; then
if run_applet_tests $applet; then
:
else
status=1
fi
fi
- applet=`echo "$applet" | sed -n 's/\.tests$//p'`
- if [ ${#applet} != 0 ]
+ applet=$(echo "$applet" | sed -n 's/\.tests$//p')
+ if [ ${#applet} -ne 0 ]
then
mkdir links 2>/dev/null
rm -f links/"$applet"
ln -s ${bindir:-../..}/busybox links/"$applet"
- PATH="$srcdir:$PATH" COMMAND="links/$applet" "${srcdir:-.}/$applet".tests
+ PATH="$srcdir:$PATH" COMMAND="links/$applet" \
+ "${srcdir:-.}/$applet".tests
if [ $? -ne 0 ]; then status=1; fi
fi