Files
mars-dosutils/test/revoke/README.md
Mario Fetka 4a952b4c4c dosutils: align Novell-compatible tests and stage NCOPY work
Update the DOS utilities and test suite with the current Novell comparison
state.

Validated/updated tool behavior:
- improve CREATOR output by showing Novell-style attribute and rights masks
- extend FLAGDIR handling with old NCP22 directory attribute read/write
  fallback paths
- expand NDIR Novell-style formatting, filtering, /SUB handling, date output,
  DI/RI attribute display and richer metadata collection
- adjust REVOKE output/grammar, recursive /SUBDIRECTORIES behavior and trustee
  update/delete paths to better match Novell tools
- adjust SLIST header/output behavior for logged-in and logged-out cases
- update README status to reflect the currently green/tested tools

Test-suite changes:
- add/refresh Novell comparison tests for CREATOR, NDIR, REVOKE and SLIST
- update NCOPY tests and collection scripts for the current investigation state
- refresh per-tool README files and top-level test documentation
- keep MAP documented as still separately open

NCOPY:
- add the current NCOPY implementation and experimental NCP74/server-side-copy
  scaffolding
- build ncopy.c so it stays compile-tested
- keep NCOPY disabled in the NET multicall dispatch for now because the
  server-side-copy/open-handle path is still unsafe and needs further analysis

Build:
- include ncopy.c in the DOS utility build
- drop the temporary MARS_DOSUTILS_VERSION define wiring from CMake
2026-05-29 07:40:04 +02:00

33 lines
1.3 KiB
Markdown

# REVOKE comparison test
`RVKSTA.BAT` creates `F:\RVKTEST` and compares Novell `\NPUBLIC\REVOKE` output with the public implementation `\PUBLIC\REVOKE`.
Result tree:
- `F:\RVKCMP\OUT` - Novell baseline output
- `F:\RVKCMP\PUBOUT` - public implementation output
- `F:\RVKCMP\COMPARE.LOG` - direct `FC` comparisons
- `F:\RVKCMP\UNOV` - user-context Novell `RIGHTS` readback
- `F:\RVKCMP\UPUB` - user-context public `RIGHTS` readback
- `F:\RVKCMP\UCOMP.LOG` - user-context `FC` comparisons
The direct matrix covers:
- individual right removal: `R`, `W`, `C`, `E`, `M`, `F`, `A`, `S`
- mixed rights removal such as `R F`, `R W C`, `E M F`, `S W C M`
- `ALL` removal, which should delete the trustee entry
- file-specific mode with `/FILES`
- recursive directory mode with `/SUBDIRECTORIES`
- missing trustee, missing user, missing path, invalid right, bad grammar, and `/FILES /SUBDIRECTORIES`
Automatic user-context readback requires:
```bat
SET LGNTPWD=your-supervisor-password
F:\RVKSTA
```
`RVKC.BAT` is queued via `DLYSTRT`, logs in as `NOPASSUSER`, captures `RIGHTS` output for the matrix cases, logs SUPERVISOR back in, and then starts `RVKSTA PART2` to copy and compare the user-context results.
`RVKZIP.BAT` packs the result tree and cleans `F:\RVKTEST` and `C:\RVKTMP`.