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>