From: fanyong Date: Thu, 3 Apr 2008 02:04:36 +0000 (+0000) Subject: Branch HEAD X-Git-Tag: v1_7_0_51~74 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=c60addc409310c325b085343689fd3d04f7cb191;p=fs%2Flustre-release.git Branch HEAD b=15291 i=eric.mei i=jian.yu fix rmtacl test scripts issues for different OS platforms. --- diff --git a/lustre/tests/rmtacl/getfacl-noacl.test b/lustre/tests/rmtacl/getfacl-noacl.test index 8f1f69a..c449a4a 100644 --- a/lustre/tests/rmtacl/getfacl-noacl.test +++ b/lustre/tests/rmtacl/getfacl-noacl.test @@ -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 diff --git a/lustre/tests/rmtacl/misc.test b/lustre/tests/rmtacl/misc.test index aa7d7bd..635be8f 100644 --- a/lustre/tests/rmtacl/misc.test +++ b/lustre/tests/rmtacl/misc.test @@ -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