Whamcloud - gitweb
b=19312
[fs/lustre-release.git] / lustre / tests / acl / getfacl-noacl.test
index 6d730c4..a4ce11e 100644 (file)
@@ -37,17 +37,27 @@ filesystem with or without ACL support.
        
        $ mkdir d
        $ touch d/y
-       $ ln -s d l
-       $ getfacl -dR . | grep file | sort
+various version of getfacl handle symlink differently
+#      $ ln -s d l
+The result of "getfacl -dR . | grep file | sort" is related with
+the dentry item order in parent directory. Such order depends on
+FS implementation. Fix with -P (--physical) option.
+#      $ getfacl -dR . | grep file | sort
+       $ getfacl -dRP . | grep file | sort
        > # file: .
        > # file: d
        > # file: d/y
        > # file: x
+       $ ln -s d l
        
        $ ln -s l ll
-       $ getfacl -dLR ll | grep file | sort
-       > # file: ll
-       > # file: ll/y
+#      $ getfacl -dLR ll | grep file | sort
+#       (rhel4)
+#      > # file: ll
+#      > # file: ll/y
+#       (rhel5)
+#      > # file: l
+#      > # file: l/y
        
        $ rm l ll x
        $ rm -rf d