Fix some bugs when testing opensds ansible
[stor4nfv.git] / src / ceph / qa / workunits / fs / misc / xattrs.sh
1 #!/bin/sh -x
2
3 set -e
4
5 touch file
6
7 setfattr -n user.foo -v foo file
8 setfattr -n user.bar -v bar file
9 setfattr -n user.empty file
10 getfattr -d file | grep foo
11 getfattr -d file | grep bar
12 getfattr -d file | grep empty
13
14 echo OK.