diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/getfattr.test | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/tests/getfattr.test b/tests/getfattr.test index cb0f9475..ae33d766 100644 --- a/tests/getfattr.test +++ b/tests/getfattr.test @@ -8,14 +8,19 @@ mkdir attrs touch attrs/file setfattr -n user.empty attrs/file setfattr -n user.data -v hello attrs/file +setfattr -n user.more -v world attrs/file testing "" "getfattr attrs/file" \ - "# file: attrs/file\nuser.data\nuser.empty\n\n" "" "" + "# file: attrs/file\nuser.data\nuser.empty\nuser.more\n\n" "" "" testing "-d" "getfattr -d attrs/file" \ - "# file: attrs/file\nuser.data=\"hello\"\nuser.empty\n\n" "" "" + "# file: attrs/file\nuser.data=\"hello\"\nuser.empty\nuser.more=\"world\"\n\n" "" "" testing "-n" "getfattr -n user.empty attrs/file" \ "# file: attrs/file\nuser.empty\n\n" "" "" testing "-d -n" "getfattr -d -n user.data attrs/file" \ "# file: attrs/file\nuser.data=\"hello\"\n\n" "" "" +testing "--only-values" "getfattr --only-values attrs/file" \ + "helloworld" "" "" +testing "--only-values -n" "getfattr --only-values -n user.data attrs/file" \ + "hello" "" "" rm -rf attrs |