Whamcloud - gitweb
LU-2863 tests: fix lfsck/OI_scrub test scripts issues
authorFan Yong <yong.fan@whamcloud.com>
Wed, 6 Feb 2013 01:21:21 +0000 (09:21 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 6 Mar 2013 17:52:25 +0000 (12:52 -0500)
commitb5b4de1a0f408816dd26e0a0e09ac5f26ebb9fa3
tree707aa43142cda495e0580771aba3375c5cc662bb
parentab2c6137dab1996796191d9a968a2934f3b53b58
LU-2863 tests: fix lfsck/OI_scrub test scripts issues

1) sanity-scrub.sh checks Lustre version after Lustre initialization.

2) Re-calculate the expactation for lfsck/OI_scrub speed test:
   2.1) 1.1 * the theoretical value for speed upper limit.
   2.2) 0.9 * the theoretical value for speed lower limit.

3) Reformat the device before running sanity-scrub test_11.

4) Other cleanup.

Test-Parameters: testlist=sanity-scrub,sanity-lfsck

Signed-off-by: Fan Yong <fan.yong@intel.com>
Change-Id: Ib811fa24ac7581c341d596afbed064a4fc3e7357
Reviewed-on: http://review.whamcloud.com/5551
Tested-by: Hudson
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Jian Yu <jian.yu@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/tests/sanity-lfsck.sh
lustre/tests/sanity-scrub.sh