From: Wei Liu Date: Wed, 20 May 2015 20:36:01 +0000 (-0700) Subject: LU-6184 test: Skip sanity test_102q and test_102r X-Git-Tag: 2.7.55~41 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=cf2d2ec214073c40f907dc825d45a2b8a67b24c9;p=fs%2Flustre-release.git LU-6184 test: Skip sanity test_102q and test_102r Skip sanity test_102q if MDS version older than 2.6.92; skip sanity test_102r if MDS version older than 2.6.93. Change-Id: I8a58446db453f55a2928d38091d6b5d7f8274f59 Signed-off-by: Wei Liu Reviewed-on: http://review.whamcloud.com/14886 Tested-by: Jenkins Tested-by: Maloo Reviewed-by: James Nunez Reviewed-by: Oleg Drokin --- diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index 3bd5dde..cae8c16 100644 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -6937,11 +6937,15 @@ test_102p() { # LU-4703 setxattr did not check ownership run_test 102p "check setxattr(2) correctly fails without permission" test_102q() { + [ $(lustre_version_code $SINGLEMDS) -lt $(version_code 2.6.92) ] && + skip "MDS needs to be at least 2.6.92" && return orphan_linkea_check $DIR/$tfile || error "orphan_linkea_check" } run_test 102q "flistxattr should not return trusted.link EAs for orphans" test_102r() { + [ $(lustre_version_code $SINGLEMDS) -lt $(version_code 2.6.93) ] && + skip "MDS needs to be at least 2.6.93" && return touch $DIR/$tfile || error "touch" setfattr -n user.$(basename $tfile) $DIR/$tfile || error "setfattr" getfattr -n user.$(basename $tfile) $DIR/$tfile || error "getfattr"