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>
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"