run test fix
This commit is contained in:
parent
3945cfbfd3
commit
ed21b54203
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/\..*//'`"
|
||||
ARG=`eval echo "\\${ARGS_$testid}"`
|
||||
if [ "$USER" = root ]
|
||||
then su - bin -c "cd `pwd`; ./test$i" || FAIL=1
|
||||
then su - bin -c "cd `pwd`; ./test$i" $ARG || FAIL=1
|
||||
else ./test$i $ARG || FAIL=1
|
||||
fi
|
||||
if [ $FAIL -eq 0 ]
|
||||
|
|
Loading…
Reference in a new issue