tests: add Novell DOS tool baseline suite

Add DOS-side baseline scripts for the Novell tools used to compare the
reimplemented public utilities.

The suite covers the current baseline set:

  MAP
  SLIST
  WHOAMI
  LOGIN / LOGOUT
  NDIR
  NCOPY
  FLAG
  FLAGDIR
  CREATOR
  RIGHTS
  GRANT
  REVOKE
  REMOVE

It also includes supporting trustee, rights, rename, move, delete and
file-operation tests.

Each test writes reproducible output into a per-tool CMP directory and
provides a matching ZIP helper for collecting the results. The ZIP
helpers clean generated test trees afterwards so SYS: does not keep
accumulating temporary directories.

This is the Novell baseline layer only. A later change can extend the
same scripts to run the full comparison cycle:

  NPUBLIC baseline -> PUBLIC implementation -> NPUBLIC control
This commit is contained in:
Mario Fetka
2026-05-27 13:31:46 +02:00
parent 0df41482c7
commit f214e89d69
65 changed files with 4831 additions and 0 deletions

45
test/ncopy/README_AUTO.md Normal file
View File

@@ -0,0 +1,45 @@
# NCOPY automated test
`NCPTSTA.BAT` is the automated/no-screenshot variant of the NCOPY test.
## Run
```text
NCPTSTA.BAT
```
It does not pause and redirects tool output into result files.
## Result directory
```text
F:\NCMP
```
Important files:
```text
F:\NCMP\RUN.LOG
F:\NCMP\SUMMARY.TXT
F:\NCMP\PRE\*.OUT
F:\NCMP\POST\*.OUT
F:\NCMP\CMP\*.OUT
```
If `ZIP.EXE` is installed and in `PATH`, the script also creates:
```text
F:\NCMP\NCPTSTA.ZIP
```
## Notes
Classic DOS redirection normally captures stdout. Most Novell tools print their
normal output there, so this avoids screenshots and OCR for most tests.
Interactive prompts are avoided in this automated variant. The `/V` verify path
is tested by copying to a fresh destination instead of overwriting an existing
file that would prompt for confirmation.
`/M` is expected to clear the archive bit on copied source files, so PRE/POST
source flag comparisons may intentionally differ.