Whamcloud - gitweb
LU-1762 tests: get correct MMP update and check intervals
authorYu Jian <yujian@whamcloud.com>
Tue, 21 Aug 2012 04:27:09 +0000 (12:27 +0800)
committerAndreas Dilger <adilger@whamcloud.com>
Fri, 7 Sep 2012 21:48:38 +0000 (17:48 -0400)
commitd194cd609e5a232e0a7764a3ac901d6f979536ef
treed44a17524eeb38d7042513959752839d4630f16a
parent4d7c6d10ac9902ea9161416798f75784ec5e5c3f
LU-1762 tests: get correct MMP update and check intervals

This patch fixes the get_mmp_update_interval() and
get_mmp_check_interval() in mmp.sh to get the correct
MMP update and check intervals from both the old and
new outputs of debugfs.

The patch also improves test_8() to increase the running
time of e2fsck to allow mount operation to be started
before e2fsck operation stops.

Test-Parameters: testlist=mmp
Signed-off-by: Yu Jian <yujian@whamcloud.com>
Change-Id: I1b73df9c7e8aea7f9a3967c278b6e82546d26dbf
Reviewed-on: http://review.whamcloud.com/3733
Tested-by: Hudson
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Minh Diep <mdiep@whamcloud.com>
lustre/tests/Makefile.am
lustre/tests/e2fsck.exp [deleted file]
lustre/tests/mmp.sh