From: Cyril H. <ch...@su...> - 2012-02-08 14:46:58
|
Hi! > The exit code of runfstests.sh should be not 0 when aio02 test fail. > > Signed-off-by: Peng Haitao <pe...@cn...> > --- > 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 ch...@su... |