tests: record AFP archive attribute mapping smoke success
All checks were successful
Source release / source-package (push) Successful in 47s
All checks were successful
Source release / source-package (push) Successful in 47s
Document the rebuilt-server smoke coverage for AFP Set File Information after mapping the AFP Archive attribute onto the existing NetWare FILE_ATTR_A path. The prior Archive terminology cleanup established that the WebSDK attribute bit is Archive, not Backup. The follow-up implementation now keeps Archive out of org.mars-nwe.afp.attributes and routes it through the existing NetWare attribute store, while Finder Invisible and System remain narrow AFP metadata xattr bits. Record the runtime evidence so the intended storage split is explicit. The smoke-suite run covers the path-backed AFP 0x10 attribute probes for Archive set and clear. Archive set reports AFP-visible attrs=0x0040, Clear Archive reports attrs=0x0000, and the final Linux xattr dump shows user.org.mars-nwe.afp.attributes=0x01000000. That confirms the AFP metadata xattr no longer contains Archive after the NetWare attribute bit has been cleared. This also preserves the WebSDK SETCLR semantics in the documentation: the server logs attrs=0x8040 for Archive set and attrs=0x0040 for Archive clear. The helper continues to verify only the targeted bit so independently stored metadata can remain visible while a single attribute bit is being exercised. Tests: - ./afp_smoke_suite.sh ... --path SYS:PUBLIC/pmdflts.ini --unix-path /var/mars_nwe/SYS/public/pmdflts.ini - getfattr -n user.org.mars-nwe.afp.attributes -e hex /var/mars_nwe/SYS/public/pmdflts.ini - stat -c 'mtime_epoch=%Y mtime=%y' /var/mars_nwe/SYS/public/pmdflts.ini Result: failures=0
This commit is contained in:
@@ -610,7 +610,11 @@ attribute words and server diagnostics. A later full-suite run also confirmed
|
||||
that the helper must mask the targeted bit rather than compare the whole
|
||||
attribute word: previously stored metadata bits can remain visible, so Invisible set/clear may
|
||||
produce a combined attribute word while still being correct for the Invisible
|
||||
bit.
|
||||
bit. After Archive was mapped to the existing NetWare `FILE_ATTR_A` store, the
|
||||
suite was rerun from the build-tree helper and completed with `failures=0`:
|
||||
Archive set reported AFP-visible `attrs=0x0040`, Clear Archive reported
|
||||
`attrs=0x0000`, and the final AFP metadata xattr stayed at `0x01000000`, proving
|
||||
that Archive no longer lives in `user.org.mars-nwe.afp.attributes`.
|
||||
|
||||
```text
|
||||
AFP Set File Info subfunction=0x10 path=SYS:PUBLIC/pmdflts.ini bitmap=0x0001 attrs=0x0004 finder_type=TEXT finder_creator=MARS entry_id=0x62ecb463 verified
|
||||
@@ -618,6 +622,9 @@ AFP Set File Info subfunction=0x10 path=SYS:PUBLIC/pmdflts.ini bitmap=0x0001 att
|
||||
AFP Set File Info subfunction=0x10 path=SYS:PUBLIC/pmdflts.ini bitmap=0x0001 attrs=0x0040 finder_type=TEXT finder_creator=MARS entry_id=0x62ecb463 verified
|
||||
AFP 2.0 Set File Information: vol=0 request_vol=0 entry=0x00000000 mask=0x0001 path='SYS:PUBLIC/pmdflts.ini' attributes attrs=0x8004
|
||||
AFP 2.0 Set File Information: vol=0 request_vol=0 entry=0x00000000 mask=0x0001 path='SYS:PUBLIC/pmdflts.ini' attributes attrs=0x0004
|
||||
AFP Set File Info subfunction=0x10 path=SYS:PUBLIC/pmdflts.ini bitmap=0x0001 attrs=0x0040 modify=0x576eb9aa finder_type=TEXT finder_creator=MARS entry_id=0x399193ed verified
|
||||
AFP Set File Info subfunction=0x10 path=SYS:PUBLIC/pmdflts.ini bitmap=0x0001 attrs=0x0000 modify=0x576eb9aa finder_type=TEXT finder_creator=MARS entry_id=0x399193ed verified
|
||||
user.org.mars-nwe.afp.attributes=0x01000000
|
||||
AFP 2.0 Set File Information: vol=0 request_vol=0 entry=0x00000000 mask=0x0001 path='SYS:PUBLIC/pmdflts.ini' attributes attrs=0x8040
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user