On Tue, 2008-08-19 at 16:42 -0400, Doug Chapman wrote:
> I was experimenting with using runltp along with disk stress (-D
> option).  It does not parse the arguments properly.  It only uses the
> last parameter in the comma separated list.  With this patch it properly
> parses the arguments to the -D option.
> 
> 
> Signed-off-by: Doug Chapman <[EMAIL PROTECTED]>

Thanks DG for noting and fixing this. Patch is merged.

Regards--
Subrata

> 
> --- ltp-full-20080731/runltp.broken   2008-08-19 16:26:46.000000000 -0400
> +++ ltp-full-20080731/runltp  2008-08-19 16:27:08.000000000 -0400
> @@ -221,7 +221,7 @@ main()
>              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
> 
> 
> 
> -------------------------------------------------------------------------
> 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


-------------------------------------------------------------------------
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