Whamcloud - gitweb
LU-14281 tests: fix sanity-sec test_56 for ZFS 30/41130/4
authorSebastien Buisson <sbuisson@ddn.com>
Tue, 5 Jan 2021 09:23:32 +0000 (10:23 +0100)
committerOleg Drokin <green@whamcloud.com>
Tue, 12 Jan 2021 07:57:36 +0000 (07:57 +0000)
commit98b7df0be162581a143bfd4e60ac921b5d0b7394
tree746342d8bb397e0781fda924af716e29891c8268
parent6fd5c8bef83aaffaa8c4ff38cbd1c0b630ba2556
LU-14281 tests: fix sanity-sec test_56 for ZFS

Skip sanity-sec test_56 in case of ZFS backend, as it does not
support FIEMAP.
Also simplify sanity-sec test_56, as all we care about is whether the
"encrypted" flag is set at all.

Fixes: 33322f3a2488 ("LU-14149 llite: fiemap set flags for encrypted files")
Test-Parameters: trivial
Test-Parameters: testlist=sanity-sec env=ONLY=56 clientdistro=el8.3 serverdistro=el8.3 fstype=ldiskfs
Test-Parameters: testlist=sanity-sec env=ONLY=56 clientdistro=el8.3 serverdistro=el8.3 fstype=zfs
Signed-off-by: Sebastien Buisson <sbuisson@ddn.com>
Change-Id: I69125d3e06acb89dbda421e573d18a2c22beac37
Reviewed-on: https://review.whamcloud.com/41130
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: James Nunez <jnunez@whamcloud.com>
lustre/tests/sanity-sec.sh