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:25 +0000 (00:11 -0400)
commitaa2490a9a621db08ab907430237c925df3bfb353
tree627e078d94ff1e5f202f3a2ae4e56ff0f6e80078
parentdcc455397fb895a4e5ea0eebe146d96ba23a6eb8
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