ltp / testscripts / ltpstress.sh #line 257 : error command format for sar (#10)
Hi,
Attach the patch file for fix sar command error.
-------- 转发邮件信息 --------
发件人:"Cyril Hrubis" <[email protected]>
发送日期:2014-04-01 21:23:33
收件人:linux-test-project/ltp <[email protected]>
抄送人:look <[email protected]>
主题:Re: [ltp] ltp / testscripts / ltpstress.sh #line 257 : error command format for sar (#10)
Can you please send a patch to the LTP mailing list?
—
Reply to this email directly or view it on GitHub.
testscripts/ltpstress.sh +1 -1
@@ -254,7 +254,7 @@ ${LTPROOT}/bin/rand_lines -g ${LTPROOT}/ sleep 2 if [ $Sar -eq 1 ]; then - sar -o $datafile $interval 0 & + sar -o $datafile $interval & fi if [ $Top -eq 1 ]; then
------------------------------------------------------------------------------
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
Hi!
Quoted 11 lines
Attach the patch file for fix sar command error.
-------- ???????????? --------
????????"Cyril Hrubis" <[email protected]>
??????????2014-04-01 21:23:33
????????linux-test-project/ltp <[email protected]>
????????look <[email protected]>
??????Re: [ltp] ltp / testscripts /ltpstress.sh#line 257 : error command format for sar (#10)
Quoted 1 line
Can you please send a patch to the LTP mailing list?
Can you also write short commit message (with kernel like Signed-of-by:
line) that explains the change?
I've looked at the systat pages and the looks like zero was never supported as a number of iterations (but may have been wrongly accepted some time ago).
Signature · 13 lines
Cyril Hrubis [email protected] ------------------------------------------------------------------------------ Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test & Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
Hi!
Quoted 1 line
Hello Cyril Hrubis,
Sorry for the delay, I've been quite bussy with the release.
Quoted 4 lines
You are right! this error was found at lastest version(20140115). I add 2 patch files:
1. ltp-fix-sar-command-error-20140411.patch:
Fix sar command error with commit messages.
This one looks good to me.
Quoted 5 lines
2.ltp-fix-bad-variable-nameerr-20140411.patch:
Fix a bad variable name in runltp script forDEFAULT_FILE_NAME_GENERATION_TIMEwhen ltp running at differenct language os(chinese).
This error was found in my os, I usezh_CNfor default language, thedate +"%Y_%b_%d-%Hh_%Mm_%Ss"will get like "2014_ 4??_11-09h_36m_52s", it can not be a variable name because include chinese characters.
Can you please move this detailed description to the patch itself so that it gets included in the git repository?
Also please add a signed-of-by line to the patches (git can help create these once you setup your name and email address) and send these to mailing list one patch per email (ideally inline as well as attached).
There is a good howto for sumbitting patches to Linux kernel and most of the information is applicable to other open source projects as well. Have a look at:
https://www.kernel.org/doc/Documentation/SubmittingPatches
At least paragraphs 2, 3, 7, 11 are directly applicable to LTP as well.
Signature · 13 lines
Cyril Hrubis [email protected] ------------------------------------------------------------------------------ "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available. Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list