X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Ftests%2Fsanity.sh;h=a40e4405efa7bf432d38053759a78e3f9770a1be;hp=4db4a3c2ef5aec7b2cd8fe177bc4844fb1966639;hb=3aaa77c99ba721346999dc58b38aaa9de6bac3a1;hpb=7a48573d386c3f2edfe010db8f4b0cfb36464872 diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index 4db4a3c..a40e440 100644 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -4114,6 +4114,15 @@ test_102h() { # bug 15777 } run_test 102h "grow xattr from inside inode to external block" +test_102i() { # bug 17038 + touch $DIR/$tfile + ln -s $DIR/$tfile $DIR/${tfile}link + getfattr -n trusted.lov $DIR/$tfile || error "lgetxattr on $DIR/$tfile failed" + getfattr -h -n trusted.lov $DIR/${tfile}link 2>&1 | grep -i "no such attr" || error "error for lgetxattr on $DIR/${tfile}link is not ENODATA" + rm -f $DIR/$tfile $DIR/${tfile}link +} +run_test 102i "lgetxattr test on symbolic link ============" + run_acl_subtest() { $LUSTRE/tests/acl/run $LUSTRE/tests/acl/$1.test