X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Ftests%2Facl%2F974_remote.test;h=345d1cbf28e9b76eb87566476935c69bbc186c50;hb=54a2d4662b58e2ba4224b0e6b487a0a7cd2f28bb;hp=cea27c6031f8de66f7f6cee30a2391c9b865ce50;hpb=c8d5aa14e50be2a85491783f169a8f4e646b9594;p=fs%2Flustre-release.git diff --git a/lustre/tests/acl/974_remote.test b/lustre/tests/acl/974_remote.test index cea27c6..345d1cb 100644 --- a/lustre/tests/acl/974_remote.test +++ b/lustre/tests/acl/974_remote.test @@ -1,20 +1,21 @@ LU-974 ignore umask when default acl with mask is set +# Need to remove trailing '.' when SELinux is enabled $ umask 022 $ lfs mkdir -i 1 974 $ touch 974/f1 - $ ls -dl 974/f1 | awk '{ print $1 }' + $ ls -dl 974/f1 | awk '{ sub(/\\.$/, "", $1); print $1 }' > -rw-r--r-- $ setfacl -R -d -m mask:007 974 $ touch 974/f2 - $ ls -dl 974/f2 | awk '{ print $1 }' + $ ls -dl 974/f2 | awk '{ sub(/\\.$/, "", $1); print $1 }' > -rw-rw-r--+ $ umask 077 $ touch f3 - $ ls -dl f3 | awk '{ print $1 }' + $ ls -dl f3 | awk '{ sub(/\\.$/, "", $1); print $1 }' > -rw------- $ rm -rf 974