Whamcloud - gitweb
LU-7483 test: Modifying filtering in acl for SElinux feature
[fs/lustre-release.git] / lustre / tests / acl / 4924.test
index 9b8a0c2..8f358d3 100644 (file)
@@ -4,10 +4,10 @@ LU-4924 - chmod g+s, touch should not clear sgid bit
        $ cd 4924
        $ touch f
        $ chmod u=rwx,g=rwxs f
-       $ ls -l f | awk -- '{ print $1, $3, $4 }'
+       $ ls -l f | awk -- '{sub(/\\./, "", $1); print $1, $3, $4 }'
        > -rwxrwsr-- root root
        $ touch f
-       $ ls -l f | awk -- '{ print $1, $3, $4 }'
+       $ ls -l f | awk -- '{sub(/\\./, "", $1); print $1, $3, $4 }'
        > -rwxrwsr-- root root
        $ cd ..
        $ rm -rf 4924