Hi All,

I have observed that, while executing the io tests in LTP, the 'aio02'
test failed to get executed:

--------------------------------------------------------------------------------------------------
$./runtests -f  io

Running tests.......
<<<test_start>>>
tag=aio01 stime=1267980185
cmdline="aio01"
contacts=""
analysis=exit
<<<test_output>>>
aio01       1  TPASS  :  Test 1: 10 writes in   0.000102 sec
aio01       2  TPASS  :  Test 2: 10 reads in   0.000056 sec
aio01       3  TPASS  :  Test 3: 10 prep,writes in   0.000070 sec
aio01       4  TPASS  :  Test 4: 10 prep,reads in   0.000051 sec
aio01       5  TPASS  :  Test 5: 10 reads and writes in   0.000108 sec
aio01       6  TPASS  :  Test 6: 10 read,write,verify in 0.000108 sec
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=aio02 stime=1267980185
cmdline="runfstests.sh aio_tio"
contacts=""
analysis=exit
<<<test_output>>>
Starting the Tests
incrementing stop
Test run starting at  Sun Mar 7 22:13:05 IST 2010
Missing the test program. You must pass a test path/name for testing
usage: runfstests.sh [ -a test name ]

example: runfstests.sh -a cases/aio_tio

<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
INFO: ltp-pan reported all tests PASS
LTP Version: LTP-20100228

-------------------------------------------------------------------------------------------------------

The "aio02_io_runtest.patch" makes the necessary changes in  "io" file
in "runtest" directory.

Signed-off-by: Maxin B. John <[email protected]>

Warm Regards,
Maxin B. John
diff --git a/runtest/io b/runtest/io
index 75274c4..a52d053 100644
--- a/runtest/io
+++ b/runtest/io
@@ -1,3 +1,3 @@
 #AIO01 & AIO02 tests to be run
 aio01 aio01
-aio02 runfstests.sh aio_tio
+aio02 runfstests.sh -a aio_tio
diff --git a/testcases/kernel/io/aio/aio02/runfstests.sh b/testcases/kernel/io/aio/aio02/runfstests.sh
index eeed389..8a29dbd 100755
--- a/testcases/kernel/io/aio/aio02/runfstests.sh
+++ b/testcases/kernel/io/aio/aio02/runfstests.sh
@@ -45,10 +45,10 @@ fi
    res=$?
    if [ $res -eq 0 ] ; 
    then str="";
-   passes=$[passes +1];
+   passes=`expr  $passes + 1`;
    else
    str=" -- FAILED";
-   fails=$[fails +1];
+   fails=`expr $fails + 1`;
    fi
 #done
 
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to