diff --git a/TODO.md b/TODO.md index cf4493d..77b4e64 100644 --- a/TODO.md +++ b/TODO.md @@ -471,8 +471,18 @@ Endpoint order: - AFP Create Directory (`0x01`) and AFP 2.0 Create Directory (`0x0d`) are now routed through the existing NetWare directory-create helper for temporary smoke paths. The Linux smoke suite creates both a legacy and AFP 2.0 - directory under the tested parent, verifies the returned namespace-derived - Entry ID, and removes the directories through the local Unix path. + directory under the tested parent and verifies the returned namespace-derived + Entry ID. Local cleanup is deliberately best-effort because the smoke suite + normally runs as an unprivileged Unix user while mars_nwe creates the DOS + namespace directory as the server-side identity; repeated runs therefore use + fresh short DOS-compatible leaf names instead of requiring local delete rights. +- Runtime status: the create-directory smoke has been verified with + `failures=0`. The run created `SYS:PUBLIC/afptst0` through legacy AFP + Create Directory (`0x01`) and `SYS:PUBLIC/afptst02` through AFP 2.0 Create + Directory (`0x0d`), with both probes returning and re-verifying Entry ID + `0x00000005`. The same run also confirmed that regular-file AFP Entry IDs + stay on the nwatalk/fallback path (`0x067a8d0f` for `PMDFLTS.INI`) while + directory scan/basehandle IDs continue to use the NetWare namespace mapping. - Next implement AFP Create File (`0x02`) and AFP 2.0 Create File (`0x0e`) by routing through the existing NetWare create/open path and testing only explicit temporary smoke files with cleanup. diff --git a/tests/linux/README.md b/tests/linux/README.md index 8c17fce..0e3f0ab 100644 --- a/tests/linux/README.md +++ b/tests/linux/README.md @@ -214,9 +214,13 @@ Example: ./tests/linux/afp_create_directory_smoke --afp20 -S MARS -U SUPERVISOR -P secret SYS:PUBLIC/afpdirts2 ``` -The full smoke suite creates temporary directories under the tested parent and -removes them through the local Unix path after each positive probe. Use -`--create-dir-name NAME` to override the default temporary leaf name. +The full smoke suite creates temporary directories under the tested parent using +fresh short DOS-compatible leaf names by default. Local removal is best-effort: +AFP Delete is not implemented yet, and the script often runs as an unprivileged +Unix user while the server created the directory under its own identity. Use +`--create-dir-name NAME` to override the default temporary leaf name, knowing +that rerunning with the same explicit name may fail if a previous directory still +exists. ## AFP Entry ID smoke test