mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
xfstests: filter selinux output in _acl_ls etc
When selinux is on, ls -l gives us a "." to indicate selinux attrs, which breaks some tests: === Test minimal ACE === Setup file --rwxrw-r-- id1 id2 file1 +-rwxrw-r--. id1 id2 file1 so make an _ls_l helper to filter that out. Signed-off-by: Eric Sandeen <sandeen@sandeen.net> Reviewed-by: Christoph Hellwig <hch@lst.de>
This commit is contained in:
+1
-1
@@ -58,7 +58,7 @@ _acl_filter_id()
|
||||
#
|
||||
_acl_ls()
|
||||
{
|
||||
ls -ln $* | awk '{ print $1, $3, $4, $NF }' | _acl_filter_id
|
||||
_ls_l -n $* | awk '{ print $1, $3, $4, $NF }' | _acl_filter_id
|
||||
}
|
||||
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user