For test 51 to run you need a kernel with the acl code built in, there
is a posix_acl config option near the top of filesystems config. Also,
for both tests do you have the latest version of the acl and attribute
commands installed? These have been broken out into seperate directories
under the cmd tree. The latest and complete set of rpm files for the commands
is this:
attr-1.0.1-0.i386.rpm
attr-devel-1.0.1-0.i386.rpm
acl-1.0.1-0.i386.rpm
acl-devel-1.0.1-0.i386.rpm
xfsprogs-1.1.1-0.i386.rpm
xfsprogs-devel-1.1.1-0.i386.rpm
xfsdump-1.0.1-0.i386.rpm
Steve
> --lrZ03NoBR/3+SXJZ
> Content-Type: text/plain; charset=us-ascii
> Content-Disposition: inline
>
> Hi,
>
> I got a failure on test 020, short version:
>
> 020 - output mismatch (see 020.out.bad)
> 65a66,68
> > 0001520 e5 79 0d 00 03 00 00 00 c0 79 0d 00 00 00 00 00
> > 0001540 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> > *
>
> 020.out.bad attached.
>
> 051 also fails:
>
> 051 - output mismatch (see 051.out.bad)
> 24c24
> < sh: ./file1: Permission denied
> ---
> > Test was executed
> 29c29
> < sh: ./file1: Permission denied
> ---
> > Test was executed
> 35c35
> < sh: ./file1: Permission denied
> ---
> > Test was executed
> 40c40
> < sh: ./file1: Permission denied
> ---
> > Test was executed
> 42c42
> < sh: ./file1: Permission denied
> ---
> > Test was executed
> 44c44
> < sh: ./file1: Permission denied
> ---
> > Test was executed
> 56c56
> < file1 [u::---,g::---,o::---,u:1002:r-x,m::rwx]
> ---
> > file1 [u::---,g::---,o::---,u:simvis:r-x,m::rwx]
> 59c59
> < sh: ./file1: Permission denied
> ---
> > Test was executed
> 65,66c65,66
> < file1 [u::---,g::---,o::---,u:1002:r-x,m::rwx]
> < file1 [u::---,g::---,o::---,g:1002:r-x,m::rwx]
> ---
> > file1 [u::---,g::---,o::---,u:simvis:r-x,m::rwx]
> > file1 [u::---,g::---,o::---,g:xxxxxx:r-x,m::rwx]
> 72c72
> < sh: ./file1: Permission denied
> ---
> > Test was executed
> 75c75
> < file1 [u::---,g::---,o::---,g:1002:r-x,m::-wx]
> ---
> > file1 [u::---,g::---,o::---,g:xxxxxx:r-x,m::-wx]
> 77c77
> < ./file1: ./file1: Permission denied
> ---
> > Test was executed
> 79c79
> < ./file1: ./file1: Permission denied
> ---
> > Test was executed
> 85c85
> < sh: ./file1: Permission denied
> ---
> > Test was executed
>
> "xxxxxxx" is the name of the group with gid 1002 (someone arround here
> could get uneasy if I disclose it). I guess chacl needs a "numeric"
> flag.
>
> --
> Marcelo
>
> --lrZ03NoBR/3+SXJZ
> Content-Type: text/plain; charset=us-ascii
> Content-Disposition: attachment; filename="020.out.bad"
>
> QA output created by 020
> *** list non-existant file
> *** print attributes
> attr_list: No such file or directory
> Could not list attributes for <TESTFILE>
> !!! error return
> *** list non-xfs file (in /proc)
> *** print attributes
> attr_list: Invalid argument
> Could not list attributes for <PROCFILE>
> !!! error return
> *** list empty file
> *** print attributes
> *** 0 attribute(s)
> *** query non-existant attribute
> attr_get: No data available
> Could not get "nonexistant" for <TESTFILE>
> *** one attribute
> Attribute "fish" set to a 5 byte value for <TESTFILE>:
> fish
>
> *** print attributes
> *** 1 attribute(s)
> *** field: fish length: 5
> ::: fish
> :::
> *** replace attribute
> Attribute "fish" set to a 6 byte value for <TESTFILE>:
> fish3
>
> *** print attributes
> *** 1 attribute(s)
> *** field: fish length: 6
> ::: fish3
> :::
> *** add attribute
> Attribute "snrub" set to a 6 byte value for <TESTFILE>:
> fish2
>
> *** print attributes
> *** 2 attribute(s)
> *** field: fish length: 6
> ::: fish3
> :::
> *** field: snrub length: 6
> ::: fish2
> :::
> *** remove attribute
> *** print attributes
> *** 1 attribute(s)
> *** field: snrub length: 6
> ::: fish2
> :::
> *** add lots of attributes
> *** check
> *** 1001 attribute(s)
> *** remove lots of attributes
> *** print attributes
> *** 1 attribute(s)
> *** field: snrub length: 6
> ::: fish2
> :::
> *** really long value
> 0000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> *
> 0001520 e5 79 0d 00 03 00 00 00 c0 79 0d 00 00 00 00 00
> 0001540 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> *
> 0200000 0a
> 0200001
> *** set/get/remove really long names (expect failure)
> attr_set: Bad address
> Could not set "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
> XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
> XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
> XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
> XXXXXXX" for <TESTFILE>
> attr_get: Bad address
> Could not get "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
> XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
> XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
> XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
> XXXXXXX" for <TESTFILE>
> attr_remove: Bad address
> Could not remove "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
> XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
> XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
> XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
> XXXXXXXXXX" for <TESTFILE>
> *** check final
> *** print attributes
> *** 1 attribute(s)
> *** field: snrub length: 6
> ::: fish2
> :::
> *** delete
>
> --lrZ03NoBR/3+SXJZ--
|