run test fix, take two

This commit is contained in:
David van Moolenbroek 2012-04-20 11:34:56 +02:00
parent 2720b68f1b
commit 1e78879f1e

View file

@ -47,7 +47,7 @@ do
testid="`echo $i | sed 's/\..*//'`"
ARG=`eval echo "\\${ARGS_$testid}"`
if [ "$USER" = root ]
then su - bin -c "cd `pwd`; ./test$i" $ARG || FAIL=1
then su - bin -c "cd `pwd`; ./test$i $ARG" || FAIL=1
else ./test$i $ARG || FAIL=1
fi
if [ $FAIL -eq 0 ]