mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
797e625f28
And into tests/generic. Tests were found simply by grepping for the __supported_fs field in the tests. Output starts to look like: $ sudo ./check -g quick -r FSTYP -- xfs (debug) PLATFORM -- Linux/x86_64 test-1 3.5.0-rc5-dgc+ MKFS_OPTIONS -- -f -bsize=4096 /dev/vdb MOUNT_OPTIONS -- /dev/vdb /mnt/scratch ./242 1s ./183 2s generic/236 1s generic/014 1s generic/258 0s ./096 1s generic/245 0s ^C Ran: ./242 ./183 generic/236 generic/014 generic/258 ./096 generic/245 Passed all 7 tests Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Phil White <pwhite@sgi.com> [rjohnston@sgi.com added TOT changes] Signed-off-by: Rich Johnston <rjohnston@sgi.com>
66 lines
2.3 KiB
Plaintext
66 lines
2.3 KiB
Plaintext
QA output created by 020
|
|
*** list non-existant file
|
|
*** print attributes
|
|
getfattr: <TESTFILE>: No such file or directory
|
|
!!! error return
|
|
*** list empty file
|
|
*** print attributes
|
|
*** 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
|
|
# file: <TESTFILE>
|
|
user.fish="fish\012"
|
|
|
|
*** replace attribute
|
|
Attribute "fish" set to a 6 byte value for <TESTFILE>:
|
|
fish3
|
|
|
|
*** print attributes
|
|
# file: <TESTFILE>
|
|
user.fish="fish3\012"
|
|
|
|
*** add attribute
|
|
Attribute "snrub" set to a 6 byte value for <TESTFILE>:
|
|
fish2
|
|
|
|
*** print attributes
|
|
# file: <TESTFILE>
|
|
user.fish="fish3\012"
|
|
user.snrub="fish2\012"
|
|
|
|
*** remove attribute
|
|
*** print attributes
|
|
# file: <TESTFILE>
|
|
user.snrub="fish2\012"
|
|
|
|
*** add lots of attributes
|
|
*** check
|
|
*** MAX_ATTRS attribute(s)
|
|
*** remove lots of attributes
|
|
*** print attributes
|
|
# file: <TESTFILE>
|
|
user.snrub="fish2\012"
|
|
|
|
*** really long value
|
|
0000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
*
|
|
ATTRSIZE
|
|
*** set/get/remove really long names (expect failure)
|
|
attr_set: Invalid argument
|
|
Could not set "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" for <TESTFILE>
|
|
attr_get: Invalid argument
|
|
Could not get "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" for <TESTFILE>
|
|
attr_remove: Invalid argument
|
|
Could not remove "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" for <TESTFILE>
|
|
*** check final
|
|
*** print attributes
|
|
# file: <TESTFILE>
|
|
user.snrub="fish2\012"
|
|
|
|
*** delete
|