Whamcloud - gitweb
LU-13580 tests: fix retrieval of SELinux context 13/39713/2
authorSebastien Buisson <sbuisson@ddn.com>
Mon, 18 May 2020 09:43:22 +0000 (11:43 +0200)
committerOleg Drokin <green@whamcloud.com>
Tue, 1 Sep 2020 03:47:36 +0000 (03:47 +0000)
commit42fc0bd1fc80c43babbda76110a227a52a9b81d3
tree832047e40fadd854e5945428cf5cca4fbf733fba
parent12c8fc25da1298db7ee3882c79796d1138de5150
LU-13580 tests: fix retrieval of SELinux context

Use 'stat' command instead of 'ls -lZ' to retrieve SELinux security
context, to make it more portable.

Lustre-change: https://review.whamcloud.com/38648
Lustre-commit: ca09fda138b6d72588f40e4cf79c5f2de832d2dd

Test-Parameters: trivial clientselinux testlist=sanity-selinux mdtcount=2 clientcount=2
Signed-off-by: Sebastien Buisson <sbuisson@ddn.com>
Change-Id: I61bc0efb1e8ae0427d05827e2933eb0b848fb442
Reviewed-on: https://review.whamcloud.com/39713
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/sanity-selinux.sh