]> Zhao Yanbai Git Server - minix.git/commitdiff
run test fix
authorBen Gras <ben@minix3.org>
Wed, 18 Apr 2012 13:59:37 +0000 (15:59 +0200)
committerBen Gras <ben@minix3.org>
Wed, 18 Apr 2012 13:59:37 +0000 (15:59 +0200)
test/run

index 7b0cf36894bc1b579d0aa39b514a69c5ec23df4d..fda8f725bae2c72e2476409569c783dbcba29371 100755 (executable)
--- a/test/run
+++ b/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 ]