mirror of
https://github.com/ceph/ceph
synced 2024-12-25 21:03:31 +00:00
a806778322
Signed-off-by: Yan, Zheng <zyan@redhat.com>
15 lines
224 B
Bash
Executable File
15 lines
224 B
Bash
Executable File
#!/bin/sh -x
|
|
|
|
set -e
|
|
|
|
touch file
|
|
|
|
setfattr -n user.foo -v foo file
|
|
setfattr -n user.bar -v bar file
|
|
setfattr -n user.empty file
|
|
getfattr -d file | grep foo
|
|
getfattr -d file | grep bar
|
|
getfattr -d file | grep empty
|
|
|
|
echo OK.
|