Hi,

The memsize is specified by the user in Mb, but it is converted to Kb in
the script, so we should convert it to Mb in the output.

The following patch solves this problem:

Signed-off-by: Wang Fang <[EMAIL PROTECTED]>

---

diff -Nrup ltp-full-20080229/testscripts/ltpstress.sh 
ltp-full-20080229-new/testscripts/ltpstress.sh
--- ltp-full-20080229/testscripts/ltpstress.sh  2008-02-29 15:55:57.000000000 
+0800
+++ ltp-full-20080229-new/testscripts/ltpstress.sh      2008-03-26 
10:43:20.000000000 +0800
@@ -258,7 +258,7 @@ ${LTPROOT}/pan/pan -e -p -q -S -t ${hour
 ${LTPROOT}/pan/pan -e -p -q -S -t ${hours}h -a stress2 -n stress2 -l $logfile 
-f ${TMP}/stress.part2 -o $output2 &
 ${LTPROOT}/pan/pan -e -p -q -S -t ${hours}h -a stress3 -n stress3 -l $logfile 
-f ${TMP}/stress.part3 -o $output3 &
 
-echo "Running LTP Stress for $hours hour(s) using $memsize Mb"
+echo "Running LTP Stress for $hours hour(s) using $(($memsize/1024)) Mb"
 echo ""
 echo "Test output recorded in:"
 echo "        $output1"



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to