Whamcloud - gitweb
LU-1762 tests: get correct MMP update and check intervals
authorYu Jian <yujian@whamcloud.com>
Wed, 22 Aug 2012 04:04:44 +0000 (12:04 +0800)
committerOleg Drokin <green@whamcloud.com>
Sun, 26 Aug 2012 04:11:48 +0000 (00:11 -0400)
commit8310a44373b8f7b56980603d29fcde16f1e75a2a
tree42124c735f4509a5f0b9d67cabcb751f8dfbfe99
parent0bfaa6ddc3cf9f91d92dd74d61837b0f21e39d69
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: I47a8759c97bf09a73a6bc4ed7a03ff0929c7127f
Reviewed-on: http://review.whamcloud.com/3743
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Hudson
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