aboutsummaryrefslogtreecommitdiff
path: root/testsuite/testing.sh
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-05-10 11:00:11 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2010-05-10 11:00:11 +0200
commit8e3aff0ce03cbc44b2fa80fb62fa2378a5212a5a (patch)
tree844103368dc1723c860a0d11cc30b3540cea67e0 /testsuite/testing.sh
parente3d90a90d43b857a5305808560d485b030a15c0a (diff)
downloadbusybox-w32-8e3aff0ce03cbc44b2fa80fb62fa2378a5212a5a.tar.gz
busybox-w32-8e3aff0ce03cbc44b2fa80fb62fa2378a5212a5a.tar.bz2
busybox-w32-8e3aff0ce03cbc44b2fa80fb62fa2378a5212a5a.zip
more randomconfig testsuite fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'testsuite/testing.sh')
-rwxr-xr-xtestsuite/testing.sh16
1 files changed, 8 insertions, 8 deletions
diff --git a/testsuite/testing.sh b/testsuite/testing.sh
index 22c640faf..65a0f6529 100755
--- a/testsuite/testing.sh
+++ b/testsuite/testing.sh
@@ -54,14 +54,14 @@ test x"$ECHO" != x"" || {
54 54
55optional() 55optional()
56{ 56{
57 option=`echo ":$OPTIONFLAGS:" | grep ":$1:"` 57 SKIP=
58 # Not set? 58 while test "$1"; do
59 if [ -z "$1" ] || [ -z "$OPTIONFLAGS" ] || [ ${#option} -ne 0 ] 59 if test x"${OPTIONFLAGS/*:$1:*/y}" != x"y"; then
60 then 60 SKIP=1
61 SKIP= 61 return
62 return 62 fi
63 fi 63 shift
64 SKIP=1 64 done
65} 65}
66 66
67# The testing function 67# The testing function