Whamcloud - gitweb
LU-427 test: Test failure on test suite lfsck
authorYu Jian <yujian@whamcloud.com>
Tue, 10 Apr 2012 10:23:02 +0000 (18:23 +0800)
committerJohann Lombardi <johann@whamcloud.com>
Mon, 16 Apr 2012 13:20:37 +0000 (09:20 -0400)
commit33ebd2bb569180b6a47fa368741f5728c8cbf822
tree93ba5979f66938d493da245a0536553f72e876e8
parent958df5f62369bb152bd598b85dbb737aa216e349
LU-427 test: Test failure on test suite lfsck

- Reset $MDSDB & $OSTDB in generate_db(). Else they will
  stale if user redefine $SHARED_DIRECTORY.
- Add a function check_shared_dir() to ensure
  $SHARED_DIRECTORY is shared among tests nodes.
- Fix check_logdir() and check_write_access() to avoid using
  node.$(hostname).yml files which should not be deleted.

Signed-off-by: Yang Sheng <ys@whamcloud.com>
Signed-off-by: Yu Jian <yujian@whamcloud.com>
Change-Id: Ie7d1d08c0d2c701fa9fb74ef8b252fa8b31bf111
Reviewed-on: http://review.whamcloud.com/2498
Tested-by: Hudson
Reviewed-by: Wei Liu <sarah@whamcloud.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Johann Lombardi <johann@whamcloud.com>
lustre/tests/cfg/local.sh
lustre/tests/cfg/ncli.sh
lustre/tests/recovery-double-scale.sh
lustre/tests/recovery-mds-scale.sh
lustre/tests/recovery-random-scale.sh
lustre/tests/test-framework.sh