Whamcloud - gitweb
LU-691 fix OST index errors in test suite - sanity 133c defect
authorYu Jian <yujian@whamcloud.com>
Fri, 30 Sep 2011 05:41:26 +0000 (13:41 +0800)
committerJohann Lombardi <johann@whamcloud.com>
Wed, 9 Nov 2011 23:10:42 +0000 (18:10 -0500)
commit89cdb936a3c1eac99bf69ea27bb3b794a3838eb3
tree2e9f23431156ce6edd1e5d95ea274fc2938b981e
parent91d1716224f9b72e154cf20a9ca00c2c49ba64c3
LU-691 fix OST index errors in test suite - sanity 133c defect

Several test run do_facet ost which assumes ost is ost0 which does not exist
according to the way the test suite works. This patch address several areas
where the wrong ost index is used. This patch also introduces some short hand
functions to get OST properties from the index. Those functions ensure ost1,
ost10 and ost100 are seen as different which is not always the case.

The following patch was also ported:
b=24504 sanity test_133* and check_stats() fix
i=Vladimir.Saveliev

Signed-off-by: James Simmons <uja.ornl@gmail.com>
Signed-off-by: Yu Jian <yujian@whamcloud.com>
Change-Id: Ia7016e3c152acd8aa75cda6f838275bee316f639
Reviewed-on: http://review.whamcloud.com/1450
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Minh Diep <mdiep@whamcloud.com>
Reviewed-by: Johann Lombardi <johann@whamcloud.com>
lustre/tests/lfsck.sh
lustre/tests/llog-test.sh
lustre/tests/replay-single.sh
lustre/tests/sanity.sh
lustre/tests/test-framework.sh