Hello.

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. The script run 
with
sudo is

#! /bin/bash
./runltp -c 2 -i 2 -m 2,4,10240,1 -D 2,10,10240,1 -p -q  -l 
$HOME/tmp/result-log.$$ -o
$HOME/tmp/result-output.$$ -C  $HOME/tmp/result-failed.$$


Also may I suggest you update the maintainers info in the script too? :)

I hope this can be helpful.

Regards.

Elder.


--- runltp.ORIG	2008-08-25 14:21:12.000000000 -0300
+++ runltp	2008-08-25 15:45:30.000000000 -0300
@@ -221,7 +221,7 @@
             export TMPDIR="$TMP";;
 
         D)  NUM_PROCS=1; NUM_FILES=1; NUM_BYTES=$((1024 * 1024 * 1024)); CLEAN_FLAG=0
-            ARGUMENT_LIST=$(($OPTARG))
+            ARGUMENT_LIST=$OPTARG
             TOTAL_ARGUMENTS=1                                             # Initial Assume
             for ARGUMENT in `echo "$ARGUMENT_LIST" | sed 's/,/\n/g'`      # Store all value in a Loop
             do
@@ -296,7 +296,7 @@
             esac ;;
     
         m)  NUM_PROCS=1; CHUNKS=1; BYTES=$((256 * 1024 * 1024)); HANGUP_FLAG=0
-            ARGUMENT_LIST=$(($OPTARG))
+            ARGUMENT_LIST=$OPTARG
             TOTAL_ARGUMENTS=1                                             # Initial Assume
             for ARGUMENT in `echo "$ARGUMENT_LIST" | sed 's/,/\n/g'`      # Store all value in a Loop
             do


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to