Added proper return code (TPASS) in case of exit without errors.
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 10 lines · Francesco RUNDO
From: Francesco Rundo <[email protected]>
The "kill05" testcase checks if EPERM is correctly raised by the system. The testcase manages the error exit codes correctly while it didn't return any exit code in case of no errors occured i.e. the system has raised EPERM. The correct exit-code "TPASS" has been added in case of the test works fine without errors.
Signed-off-by Francesco Rundo <[email protected]>Reviewed-by Carmelo Amoroso <[email protected]>
Please properly styleize this; this doesn't conform to Linux
coding standards..
Thanks,
-Garrett
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
Quoted 9 lines · Garrett Cooper
Quoted 8 lines · Francesco RUNDO
From: Francesco Rundo <[email protected]>
The "kill05" testcase checks if EPERM is correctly raised by the system. The testcase manages the error exit codes correctly while it didn't return any exit code in case of no errors occured i.e. the system has raised EPERM. The correct exit-code "TPASS" has been added in case of the test works fine without errors.
Quoted 5 lines
Quoted 2 lines
Signed-off-by Francesco Rundo <[email protected]>Reviewed-by Carmelo Amoroso <[email protected]>Please properly styleize this; this doesn't conform to Linux
coding standards..
I've noted there is a trailing white space ?
is this the only problem ?
carmelo
Quoted 14 lines
Thanks,
-Garrett------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
Quoted 10 lines · Carmelo AMOROSO
Quoted 9 lines · Garrett Cooper
Quoted 8 lines · Francesco RUNDO
From: Francesco Rundo <[email protected]>
The "kill05" testcase checks if EPERM is correctly raised by the system. The testcase manages the error exit codes correctly while it didn't return any exit code in case of no errors occured i.e. the system has raised EPERM. The correct exit-code "TPASS" has been added in case of the test works fine without errors.
Quoted 8 lines
Quoted 5 lines
Quoted 2 lines
Signed-off-by Francesco Rundo <[email protected]>Reviewed-by Carmelo Amoroso <[email protected]>Please properly styleize this; this doesn't conform to Linux coding standards..
I've noted there is a trailing white space ?
is this the only problem ?
No. Many software projects written in C, python, etc don't allow
conditionals with inline test statements, e.g.
if (foo) bar;
This is almost always done like 1):
if (foo)
bar;
or 2):
if (foo) {
bar;
}
See K&R and the LKML for more details on what should be done.Thanks,
-Garrett
------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on "Lean Startup Secrets Revealed." This video shows you how to validate your ideas, optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list