From 84233d472fbea2750199c9785a3b28a079551905 Mon Sep 17 00:00:00 2001 From: Nathan Scott Date: Mon, 11 Mar 2002 23:42:35 +0000 Subject: man page and test script updates from Andreas. fix syscall numbering a/ on sparc (fremovexattr was wrong) and b/ if arch doesn't have numbers defined yet, handle it cleanly (errno.h missing). --- test/attr.test | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'test') diff --git a/test/attr.test b/test/attr.test index 0e1c4b5..2a220be 100644 --- a/test/attr.test +++ b/test/attr.test @@ -168,3 +168,25 @@ $ ls -s f g h 0 g 0 h $ rm f g h +! +! Attributes of symlinks vs. the files pointed to +! +$ touch f +$ ln -s f l +$ setfattr -n user.filename -v f l +$ setfattr -h -n user.filename -v l l +$ getfattr -d f l +# file: f +user.filename="f" + +# file: l +user.filename="f" + +$ getfattr -h -d f l +# file: f +user.filename="f" + +# file: l +user.filename="l" + +$ rm f l -- cgit v1.2.3