From: Andreas Dilger Date: Mon, 9 Jan 2012 19:04:54 +0000 (-0700) Subject: LU-976 tests: skip MMP test for non-ldiskfs backfs X-Git-Tag: 2.1.55~21 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=6f57184f83dc983eded15052d434e7856a7de92e;ds=sidebyside LU-976 tests: skip MMP test for non-ldiskfs backfs Skip the Multi-Mount Protection tests for non-ldiskfs backing filesystems. MMP is currently only implemented for ldiskfs, so until that changes this test cannot pass for any other FSTYPE. Signed-off-by: Andreas Dilger Change-Id: I4dc9936fa6f34b4dc4cc465a6352daae2198788f Reviewed-on: http://review.whamcloud.com/1934 Tested-by: Hudson Tested-by: Maloo Reviewed-by: Johann Lombardi Reviewed-by: Oleg Drokin --- diff --git a/lustre/tests/mmp.sh b/lustre/tests/mmp.sh index cb35a27..074a20c 100755 --- a/lustre/tests/mmp.sh +++ b/lustre/tests/mmp.sh @@ -26,6 +26,8 @@ init_logging remote_mds_nodsh && skip "remote MDS with nodsh" && exit 0 remote_ost_nodsh && skip "remote OST with nodsh" && exit 0 +[ "$MDSFSTYPE" != "ldiskfs" ] && skip "MDS not running ldiskfs" && exit 0 +[ "$OSTFSTYPE" != "ldiskfs" ] && skip "OST not running ldiskfs" && exit 0 # unmount and cleanup the Lustre filesystem MMP_RESTORE_MOUNT=false