run test fix, take two
This commit is contained in:
parent
2720b68f1b
commit
1e78879f1e
1 changed files with 1 additions and 1 deletions
2
test/run
2
test/run
|
@ -47,7 +47,7 @@ do
|
||||||
testid="`echo $i | sed 's/\..*//'`"
|
testid="`echo $i | sed 's/\..*//'`"
|
||||||
ARG=`eval echo "\\${ARGS_$testid}"`
|
ARG=`eval echo "\\${ARGS_$testid}"`
|
||||||
if [ "$USER" = root ]
|
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
|
else ./test$i $ARG || FAIL=1
|
||||||
fi
|
fi
|
||||||
if [ $FAIL -eq 0 ]
|
if [ $FAIL -eq 0 ]
|
||||||
|
|
Loading…
Reference in a new issue