Skip to contentSkip to conversation

Fix an error command format for sar in ltpstress.sh

PATCH [email protected] 1 participant 1 message May 5, 2014 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

Hi!

Review ${LTPROOT}/bin/rand_lines -g ${LTPROOT}/runtest/stress.part3 > ${TMP}/stress.par · line 254

Quoted 12 lines

Hi All and chrubis,

I got an error for the lastest version 20140115 of ltp project.
The sar command never support zero as an number of iterations, this may have been wrongly merged.
I send attch path file for fix this error.

Details messages:

(quoted diff) +1 -1
@@ -254,7 +254,7 @@ ${LTPROOT}/bin/rand_lines -g ${LTPROOT}/runtest/stress.part3 > ${TMP}/stress.par
-  sar -o $datafile $interval 0 &
+  sar -o $datafile $interval > /dev/null &

Pushed, thanks.

Signature · 13 lines
Cyril Hrubis
[email protected]

------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
• 3 signs your SCM is hindering your productivity
• Requirements for releasing software faster
• Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list