Hi! > 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
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... -- 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
