The exit code of runfstests.sh should 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(-)

diff --git a/testcases/kernel/io/aio/aio02/runfstests.sh 
b/testcases/kernel/io/aio/aio02/runfstests.sh
index 07a40ad..005299a 100755
--- a/testcases/kernel/io/aio/aio02/runfstests.sh
+++ b/testcases/kernel/io/aio/aio02/runfstests.sh
@@ -56,3 +56,5 @@ echo "Pass: $passes Fail: $fails"
 echo "Test run complete at" `date`
 
 rm -rf testdir
+
+exit $fails
-- 
1.7.1

-- 
Best Regards,
Peng


------------------------------------------------------------------------------
Try before you buy = See our experts in action!
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-dev2
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to