Whamcloud - gitweb
Branch HEAD
authorfanyong <fanyong>
Thu, 3 Apr 2008 02:04:36 +0000 (02:04 +0000)
committerfanyong <fanyong>
Thu, 3 Apr 2008 02:04:36 +0000 (02:04 +0000)
b=15291
i=eric.mei
i=jian.yu

fix rmtacl test scripts issues for different OS platforms.

lustre/tests/rmtacl/getfacl-noacl.test
lustre/tests/rmtacl/misc.test

index 8f1f69a..c449a4a 100644 (file)
@@ -49,9 +49,13 @@ FS implementation. Fix with -P (--physical) option.
        > # file: x
        
        $ ln -s l ll
-       $ lfs lgetfacl -dLR ll | grep file | sort
-       > # file: ll
-       > # file: ll/y
+#      $ lfs lgetfacl -dLR ll | grep file | sort
+#      (rhel4)
+#      > # file: ll
+#      > # file: ll/y
+#      (rhel5)
+#      > # file: l
+#      > # file: l/y
        
        $ rm l ll x
        $ rm -rf d
index aa7d7bd..635be8f 100644 (file)
@@ -259,7 +259,10 @@ Symlink in directory with default ACL?
        $ lfs ls -dl -L d/l | awk '{print $1}'
        > drwxr-x---+
 
-       $ lfs lgetfacl --omit-header d/l
+# XXX:there is an issue with getfacl dealing symbol link
+#      $ lfs lgetfacl --omit-header d/l
+       $ cd d
+       $ lfs lgetfacl --omit-header l
        > user::rwx
        > user:bin:rwx  #effective:r-x
        > user:daemon:r-x
@@ -275,6 +278,8 @@ Symlink in directory with default ACL?
        > default:mask::r-x
        > default:other::---
        > 
+# XXX
+        $ cd ..
 
        $ rm d/l