Whamcloud - gitweb
Fix test script for local acl operation.
authorfanyong <fanyong>
Mon, 27 Nov 2006 05:40:09 +0000 (05:40 +0000)
committerfanyong <fanyong>
Mon, 27 Nov 2006 05:40:09 +0000 (05:40 +0000)
lustre/tests/acl/getfacl-noacl.test
lustre/tests/acl/permissions.test

index 6d730c4..4082a3b 100644 (file)
@@ -38,7 +38,11 @@ filesystem with or without ACL support.
        $ mkdir d
        $ touch d/y
        $ ln -s d l
-       $ getfacl -dR . | grep file | sort
+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
index bcf947c..04accac 100644 (file)
@@ -202,8 +202,11 @@ only need to verify that ACL permissions make a difference.
        > e/h
 following 2 lines seems not valid, which also failed on ext3 in FC3 enviroment,
 although it pass in FC2. commented out by CFS (agreed with HP)
+Replaced "echo" with "touch" can resolve such problem.
 #      $ echo i > e/i
 #      > e/i: Permission denied
+        $ touch e/i
+        > touch: cannot touch `e/i': Permission denied
 
        $ su
        $ setfacl -m u:bin:rwx e