Whamcloud - gitweb
LU-15548 tests: skip conf-sanity/131 for older servers 51/48151/3
authorAndreas Dilger <adilger@whamcloud.com>
Fri, 5 Aug 2022 20:19:41 +0000 (14:19 -0600)
committerOleg Drokin <green@whamcloud.com>
Thu, 1 Sep 2022 05:54:56 +0000 (05:54 +0000)
Skip conf-sanity.sh test_131 when running against older servers that
do not support the trusted.projid xattr.

Test-Parameters: trivial testlist=conf-sanity env=ONLY=131
Test-Parameters: testlist=conf-sanity env=ONLY=131 serverversion=2.14.0
Fixes: e4d07f2c30 ("LU-12056 ldiskfs: add trusted.projid virtual xattr")
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: If1858502ab50ffd10e494eab793e3bc0f883fe9e
Reviewed-on: https://review.whamcloud.com/48151
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Li Dongyang <dongyangli@ddn.com>
Reviewed-by: Wei Liu <sarah@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/conf-sanity.sh

index b28a7c5..e3b9dff 100644 (file)
@@ -9936,6 +9936,8 @@ run_test 130 "re-register an MDT after writeconf"
 
 test_131() {
        [ "$mds1_FSTYPE" == "ldiskfs" ] || skip "ldiskfs only test"
+       (( $MDS1_VERSION >= $(version_code 2.14.56.35) )) ||
+               skip "Need MDS version at least 2.14.56.35"
        do_facet mds1 $DEBUGFS -R features $(mdsdevname 1) |
                grep -q project || skip "skip project quota not supported"