]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: test zero size xattr 3199/head
authorYan, Zheng <zyan@redhat.com>
Thu, 18 Dec 2014 06:43:14 +0000 (14:43 +0800)
committerYan, Zheng <zyan@redhat.com>
Thu, 18 Dec 2014 06:43:54 +0000 (14:43 +0800)
Signed-off-by: Yan, Zheng <zyan@redhat.com>
qa/workunits/fs/misc/xattrs.sh

index ec78bf2a9bd3bd0dc623538c83952a071fcf2251..fcd94d22c127e636c2123ca0224ec283af637239 100755 (executable)
@@ -4,8 +4,11 @@ set -e
 
 touch file
 
-setfattr -n user.bare -v bare file
+setfattr -n user.foo -v foo file
 setfattr -n user.bar -v bar file
-getfattr -d file | grep bare
+setfattr -n user.empty file
+getfattr -d file | grep foo
+getfattr -d file | grep bar
+getfattr -d file | grep empty
 
 echo OK.