Issue 40: Test Suite for Relocation code(s)
Status:  Done
Owner:
Closed:  Jan 2009
Project Member Reported by sandeepksinha, Jan 28, 2009
As we all know that we are alomost on the verge of releasing a very
primitive code for OHSM 1.0.0 very soon.

And there are six methods of relocations that we have implemented currently.

We need to have a automated testsuite so, that we can verify all these six
methods.

And also, it will provide others a means to easily test and verify our changes.

I have done some initial work for the same.
I am trying to enhance it more.


Jan 28, 2009
Project Member #1 sandeepksinha
Attaching the code....
Here are some comments from Manish Katiyar...
I have tried to capture as much as I can...
Still needs a lot to be done.
For now RKS you can go ahead and use this file.

It has a config file for the test suite.
And an executable.

Simply set the values in config file
and say ./run and you should be done.

run
3.4 KB   Download
config
1.0 KB   Download
Jan 28, 2009
Project Member #2 imreckless@gmail.com
I have tested the script and attaching the LOG file.
ohsm_testsuite_output.5368
3.2 KB   View   Download
Jan 28, 2009
Project Member #3 imreckless@gmail.com
The latest output. 
Its cool.
But somehow the log file is not opening

[root@localhost modules]# ./run        
/bin/bash                              
100000+0 records in                    
100000+0 records out                   
51200000 bytes (51 MB) copied, 0.65782 s, 77.8 MB/s
Starting test of module : mmcpy                    
mke2fs 1.41.3 (12-Oct-2008)                        

real    0m2.957s
user    0m0.000s
sys     0m0.503s
Starting test of module : pgflip
mke2fs 1.41.3 (12-Oct-2008)     

real    0m0.961s
user    0m0.001s
sys     0m0.253s
Starting test of module : blknr
mke2fs 1.41.3 (12-Oct-2008)    

real    0m0.721s
user    0m0.000s
sys     0m0.252s
Starting test of module : devtrunc
mke2fs 1.41.3 (12-Oct-2008)       

real    0m4.562s
user    0m0.000s
sys     0m0.591s
Starting test of module : pftrunc
mke2fs 1.41.3 (12-Oct-2008)

real    0m0.888s
user    0m0.000s
sys     0m0.401s
Starting test of module : mmtrunc
mke2fs 1.41.3 (12-Oct-2008)

real    0m1.339s
user    0m0.000s
sys     0m0.530s
Test suite complete. Log saved at /testedreloc/LOG/ohsm_testsuite_output.6607

Jan 28, 2009
Project Member #4 imreckless@gmail.com
I hav attached the new modules. 
I have checked it at my side.
The only warning it gives is some functions undefined
which are exported in ext2.
If there are any other warning then let me know.
onlymods.tar.bz2
5.0 KB   Download
Jan 30, 2009
Project Member #5 imreckless@gmail.com
Test suite is completed.
Sir please close the issue.
Jan 30, 2009
Project Member #6 sandeepksinha
Its done.
RKS upload it somewhere.
Closing the issue.
Status: Done