runfstests.sh: fix error exit code
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hi!
Quoted 12 lines
The exit code of
runfstests.shshould be not 0 when aio02 test fail.Signed-off-by Peng Haitao <[email protected]>--- testcases/kernel/io/aio/aio02/runfstests.sh | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)testcases/kernel/io/aio/aio02/runfstests.sh +0
-0
testcases/kernel/io/aio/aio02/runfstests.sh echo "Pass: $passes Fail: $fails" · line 60
Quoted 5 lines
testcases/kernel/io/aio/aio02/runfstests.sh +2
-0@@ -56,3 +56,5 @@ echo "Pass: $passes Fail: $fails" echo "Test run complete at" `date` rm -rf testdir + +exit $fails
Good catch, however the only thing that the script does is creating temporary directory, which could be easily done withing the test itself by using tst_tmpdir(), then we could drop this script and run the testcase directly...
Signature · 13 lines
Cyril Hrubis [email protected] ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list