summaryrefslogtreecommitdiff
path: root/test/attr.test
diff options
context:
space:
mode:
authorKamil Dudka <address@hidden>2010-12-22 15:03:48 +0100
committerAndreas Gruenbacher <agruen@linbit.com>2011-05-25 18:14:36 +0200
commit2c053e75d44016dd6b07649a356c1ce55dbe1028 (patch)
tree7e8fd1c4ec7102c8e49b448cea3b33ae5fd2ff06 /test/attr.test
parent3c6518e3e604dafbd806663c161166fde672b82d (diff)
downloadattr-2c053e75d44016dd6b07649a356c1ce55dbe1028.tar.gz
walk_tree: do not follow symlink to directory with -h
reported by Jean-Pierre André at https://bugzilla.redhat.com/660613
Diffstat (limited to 'test/attr.test')
-rw-r--r--test/attr.test8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/attr.test b/test/attr.test
index d394562..4a14c2f 100644
--- a/test/attr.test
+++ b/test/attr.test
@@ -217,6 +217,14 @@ Attributes of symlinks vs. the files pointed to
$ rm f
+Attributes of symlinks vs. the files pointed to in a directory
+
+ $ mkdir src
+ $ touch src/target
+ $ setfattr -n user.color -v blue src/target
+ $ ln -s src symlink
+ $ getfattr -n user.color -h symlink 2>/dev/null
+
Tests for file name that contain special characters
$ touch "f "