mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
85be2d41af
This should have gone in with the change which meant that EINVAL is no longer reported for an EA op not being present for a FS - op not supported error generated now.
82 lines
2.9 KiB
Plaintext
82 lines
2.9 KiB
Plaintext
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: Operation not supported
|
|
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
|
|
*
|
|
0200000 0a
|
|
0200001
|
|
*** set/get/remove really long names (expect failure)
|
|
attr_set: Bad address
|
|
Could not set "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" for <TESTFILE>
|
|
attr_get: Bad address
|
|
Could not get "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" for <TESTFILE>
|
|
attr_remove: Bad address
|
|
Could not remove "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" for <TESTFILE>
|
|
*** check final
|
|
*** print attributes
|
|
*** 1 attribute(s)
|
|
*** field: snrub length: 6
|
|
::: fish2
|
|
:::
|
|
*** delete
|