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
This commit is contained in:
@@ -1,45 +1,47 @@
|
||||
# RGHTSTA - RIGHTS comparison test
|
||||
|
||||
`RGHTSTA.BAT` compares Novell `RIGHTS` with the current implementation.
|
||||
|
||||
Result directories:
|
||||
|
||||
```text
|
||||
F:\RGHTCMP\OUT Novell baseline using \NPUBLIC\RIGHTS
|
||||
F:\RGHTCMP\PUBOUT current implementation using \PUBLIC\RIGHTS
|
||||
F:\RGHTCMP\COMPARE.LOG
|
||||
```
|
||||
|
||||
The test keeps the original Novell-baseline behavior and adds the public-tool
|
||||
comparison layer.
|
||||
|
||||
Coverage:
|
||||
|
||||
- default/current directory from `F:\`
|
||||
- explicit directory and subdirectory paths
|
||||
- explicit file and nested file paths
|
||||
- default/current directory from inside the test directory
|
||||
- relative file and relative directory paths
|
||||
- missing directory/file paths
|
||||
- too-many-arguments and `/?` usage/help cases
|
||||
|
||||
operation. Its redirected output must be identical to the normal Novell output.
|
||||
That means:
|
||||
|
||||
```text
|
||||
OUT == PUBOUT
|
||||
```
|
||||
|
||||
Run:
|
||||
|
||||
```bat
|
||||
F:
|
||||
CD \
|
||||
RGHTSTA
|
||||
RGHTZIP
|
||||
```
|
||||
|
||||
The generated test tree is `F:\RGHTEST`. `RGHTZIP.BAT` packages the result and
|
||||
then removes `F:\RGHTEST` again so the SYS root stays clean.
|
||||
|
||||
Note: `RIGHTS` currently has no short-output comparison in this baseline test. That switch exists for NDIR-style output control and should only be added to RIGHTS later if the tool implements it explicitly.
|
||||
# RGHTSTA - RIGHTS comparison test
|
||||
|
||||
`RGHTSTA.BAT` compares Novell `RIGHTS` with the current implementation.
|
||||
|
||||
## Run
|
||||
|
||||
Run while logged in and with `F:` mapped to `SYS:`:
|
||||
|
||||
```bat
|
||||
F:
|
||||
CD \
|
||||
RGHTSTA
|
||||
RGHTZIP
|
||||
```
|
||||
|
||||
## Result layout
|
||||
|
||||
```text
|
||||
F:\RGHTCMP\OUT Novell baseline using \NPUBLIC\RIGHTS
|
||||
F:\RGHTCMP\PUBOUT current implementation using \PUBLIC\RIGHTS
|
||||
F:\RGHTCMP\COMPARE.LOG
|
||||
F:\RGHTCMP\RUN.LOG
|
||||
F:\RGHTCMP\SUMMARY.TXT
|
||||
```
|
||||
|
||||
`RGHTZIP.BAT` packages the result tree and removes the generated `F:\RGHTEST`
|
||||
test tree afterwards.
|
||||
|
||||
## Coverage
|
||||
|
||||
- default/current directory from `F:\`
|
||||
- explicit directory and subdirectory paths
|
||||
- explicit file and nested file paths
|
||||
- default/current directory from inside the test directory
|
||||
- relative file and relative directory paths
|
||||
- missing directory/file paths
|
||||
- too-many-arguments and `/?` usage/help cases
|
||||
|
||||
Expected comparison:
|
||||
|
||||
```text
|
||||
OUT == PUBOUT
|
||||
```
|
||||
|
||||
`RIGHTS` has no `/SHORT` comparison in this test. That switch belongs to the
|
||||
NDIR diagnostic output and should only be added to RIGHTS if the tool explicitly
|
||||
implements it later.
|
||||
|
||||
Reference in New Issue
Block a user