tests: record AFP WebSDK attribute bit smoke success

The AFP Set/Get File Information attribute path now follows the WebSDK attribute word instead of the earlier low-bit smoke placeholders.  Hidden, System, and Archive are mapped through the existing NetWare attribute store as FILE_ATTR_H, FILE_ATTR_S, and FILE_ATTR_A, while FinderInfo and Entry-ID remain AFP-specific metadata.

Record the runtime smoke result that verified the corrected bit layout.  The suite reports failures=0, exercises Hidden, System, and Archive set/clear with the documented 0x0200, 0x0400, and 0x2000 attribute bits, and confirms the SetInfo request bitmaps 0x0100 Attributes, 0x1000 Modify Date/Time, and 0x4000 FinderInfo.

Also document that user.org.mars-nwe.afp.attributes may legitimately be absent after this mapping: the tested attribute bits are no longer stored as AFP-only xattrs, so ENODATA in the optional xattr dump is expected when no AFP-only bits remain set.

Test status: based on the provided mars-afp-smoke report from 2026-05-30 18:04:21, which completed with failures=0 and preserved the expected FinderInfo, Entry-ID, Modify timestamp, DOS-name, Open Fork, SetInfo, and rights-negative coverage.
This commit is contained in:
OpenAI
2026-05-30 16:09:17 +00:00
committed by Mario Fetka
parent 336b2ce73e
commit 3f3a3ce832
2 changed files with 18 additions and 0 deletions

View File

@@ -490,3 +490,12 @@ Hidden, `0x0400` System, and `0x2000` Archive. These are mapped through the
existing NetWare attribute store (`FILE_ATTR_H`, `FILE_ATTR_S`, `FILE_ATTR_A`)
so AFP does not keep parallel xattr-only copies for those NetWare attributes.
`--invisible` remains only a smoke-helper compatibility alias for Hidden.
Runtime status: the WebSDK attribute-bit smoke run is verified with `failures=0`.
The suite confirmed `Hidden` set/clear as `0x0200`/`0x0000`, `System`
set/clear as `0x0400`/`0x0000`, and `Archive` set/clear as
`0x2000`/`0x0000`. The same run confirmed the WebSDK SetInfo bitmaps
`0x0100` for Attributes, `0x1000` for Modify Date/Time, and `0x4000` for
FinderInfo. Because all tested attribute bits are now stored through the
NetWare attribute path, `user.org.mars-nwe.afp.attributes` may be absent in the
final xattr dump; this is expected and no longer counts as a smoke failure.

View File

@@ -800,3 +800,12 @@ FinderInfo. The attribute word maps `Hidden` (`0x0200`) to NetWare
to `FILE_ATTR_A`. The smoke helper keeps `--hidden` as a compatibility
alias, but the suite uses `--hidden` / `--clear-hidden` because the value is the
NetWare/AFP Hidden attribute, not a separate Finder-only xattr.
Runtime status: the WebSDK attribute-bit smoke run is verified with
`failures=0`. The suite confirmed Hidden set/clear as `0x0200`/`0x0000`,
System set/clear as `0x0400`/`0x0000`, and Archive set/clear as
`0x2000`/`0x0000`. It also confirms the SetInfo request bitmaps `0x0100`
Attributes, `0x1000` Modify Date/Time, and `0x4000` FinderInfo. Since these
attributes now use the existing NetWare attribute path, the final
`user.org.mars-nwe.afp.attributes` dump is optional and may report `ENODATA`;
that is expected when no AFP-only attribute bits remain set.