summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@suse.de>2009-07-31 01:59:16 -0700
committerBrandon Philips <brandon@ifup.org>2009-07-31 02:07:24 -0700
commit1ae0d25424144eec229fbd593d59cb23daccc970 (patch)
treefabc7d2304c8f37e9b7f90339d2bd5f53a9d5dd9
parent6824f9c68225388c8c7a9e887a21f0aa222c3571 (diff)
downloadattr-1ae0d25424144eec229fbd593d59cb23daccc970.tar.gz
attr.test: fix tests after "Stop quoting nonprintable characters in the getfattr output"
after 6824f9c68225388c8c7a9e887a21f0aa222c3571 getfattr outputs \ooo style characters in fewer cases. Fix the test case to match.
-rw-r--r--test/attr.test16
1 files changed, 8 insertions, 8 deletions
diff --git a/test/attr.test b/test/attr.test
index d501862..d394562 100644
--- a/test/attr.test
+++ b/test/attr.test
@@ -222,7 +222,7 @@ Tests for file name that contain special characters
$ touch "f "
$ setfattr -n user.name -v value "f "
$ getfattr -d "f "
- > # file: f\040
+ > # file: f
> user.name="value"
>
@@ -232,23 +232,23 @@ Tests for attribute names that contains special characters
$ touch f
$ setfattr -n "user.sp ace" -v value f
- $ setfattr -n "user.special\\007" -v value f
+ $ setfattr -n "user.special " -v value f
$ getfattr f
> # file: f
- > user.sp\040ace
- > user.special\007
+ > user.sp ace
+ > user.special
>
$ getfattr -d f
> # file: f
- > user.sp\040ace="value"
- > user.special\007="value"
+ > user.sp ace="value"
+ > user.special ="value"
>
$ setfattr -x "user.sp ace" f
$ setfattr -n "user.sp ace" -v value f
- $ setfattr -x "user.sp\\040ace" f
- $ setfattr -x "user.special\\007" f
+ $ setfattr -x "user.sp ace" f
+ $ setfattr -x "user.special " f
$ rm f
$ cd ..