From: Yazen Ghannam Date: Mon, 4 May 2015 16:33:16 +0000 (-0400) Subject: Workunits : fs/misc/chmod.sh : Include ACL characters in permission check. X-Git-Tag: v9.0.3~73^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=d3dbfffefb0ae53583350f53258dc902670da659;p=ceph.git Workunits : fs/misc/chmod.sh : Include ACL characters in permission check. Signed-off-by: Yazen Ghannam --- diff --git a/qa/workunits/fs/misc/chmod.sh b/qa/workunits/fs/misc/chmod.sh index dd0552d09ae1f..de66776f108be 100755 --- a/qa/workunits/fs/misc/chmod.sh +++ b/qa/workunits/fs/misc/chmod.sh @@ -12,7 +12,9 @@ check_perms() { fi perms=$2 - if test "${perms}" != $(echo ${r} | awk '{print $1}'); then + if test "${perms}" != $(echo ${r} | awk '{print $1}') && \ + test "${perms}." != $(echo ${r} | awk '{print $1}') && \ + test "${perms}+" != $(echo ${r} | awk '{print $1}'); then echo "ERROR: Permissions should be ${perms}" exit 1 fi