Whamcloud - gitweb
LU-691 Fix OST index errors in test suite - sanity 133c defect
authorJames Simmons <uja.ornl@gmail.com>
Thu, 3 Nov 2011 14:39:36 +0000 (10:39 -0400)
committerOleg Drokin <green@whamcloud.com>
Sat, 12 Nov 2011 05:58:27 +0000 (00:58 -0500)
commit8afd35ce1073f52b45ddfe46164ac90c47288d3c
tree8cc8ed275ed7beed9b9f24b5a1cdd9017c2a7ebc
parent31569d70ad840e29a037655ed43e30f4260af265
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.

Change-Id: Ic31224794563964a3415d24abeebce9dacceb686
Signed-off-by: James Simmons <uja.ornl@gmail.com>
Reviewed-on: http://review.whamcloud.com/1425
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Yu Jian <yujian@whamcloud.com>
Reviewed-by: Oleg Drokin <green@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