From: Subrata <sub...@us...> - 2008-08-27 13:34:50
|
Update of /cvsroot/ltp/ltp In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8662/ltp Modified Files: runltp Log Message: I tried to run runltp with the arguments suggested in the script's help and I get the error: ./runltp: 783: arith: syntax error: "2,4,10240,1" I have checked out the latest intermediate (August 20th) and noticed there was a change that fixed one of the sources of this error but still one remained. I am attaching the patch (to July stable version) which fixed the issue in my case. I am running Ubuntu 7.04 (Feisty) on a Core 2 Duo based machine. Also may I suggest you update the maintainers info in the script too? :) I hope this can be helpful. Signed-Off-By: "elder.costa" <eld...@te...>. Index: runltp =================================================================== RCS file: /cvsroot/ltp/ltp/runltp,v retrieving revision 1.28 retrieving revision 1.29 diff -C2 -d -r1.28 -r1.29 *** runltp 20 Aug 2008 09:15:49 -0000 1.28 --- runltp 27 Aug 2008 13:34:46 -0000 1.29 *************** *** 297,301 **** m) NUM_PROCS=1; CHUNKS=1; BYTES=$((256 * 1024 * 1024)); HANGUP_FLAG=0 ! ARGUMENT_LIST=$(($OPTARG)) TOTAL_ARGUMENTS=1 # Initial Assume for ARGUMENT in `echo "$ARGUMENT_LIST" | sed 's/,/\n/g'` # Store all value in a Loop --- 297,301 ---- m) NUM_PROCS=1; CHUNKS=1; BYTES=$((256 * 1024 * 1024)); HANGUP_FLAG=0 ! ARGUMENT_LIST=$OPTARG TOTAL_ARGUMENTS=1 # Initial Assume for ARGUMENT in `echo "$ARGUMENT_LIST" | sed 's/,/\n/g'` # Store all value in a Loop |