Add maintainer-only support used by the automated DOS compatibility tests. This introduces the MAINTAINER_BUILD option for the DOS tools. In maintainer builds, LOGIN accepts the hidden /PWD: and /PASSWORD: arguments for automated test relogin, and the DLYSTRT helper is built to delay-start DOS batch files after the invoking batch has returned to the prompt. Add the WHOAMI utility and wire it into the NET command dispatch. Also adjust SLIST and RIGHTS output to match Novell behavior more closely, including server-not-found handling, path formatting, Supervisor rights, missing-path errors and usage text. Extend the test scripts to compare NPUBLIC Novell baselines against the PUBLIC implementations. LOGIN/LOGOUT can now run automatically via DLYSTRT and the maintainer LOGIN password option. RIGHTS gains an additional NOPASSUSER effective-rights matrix that covers single rights, mixed rights, Supervisor rights, ALL/N and file trustee cases. Normal builds remain free of maintainer-only helpers and hidden password handling.
MARS dosutils tests
This directory contains DOS-side regression and compatibility tests for mars-dosutils.
The tests are grouped by feature so that Novell reference-tool checks and our own tool regressions stay separated but easy to compare.
Directory layout
| Directory | Purpose |
|---|---|
flag/ |
File/directory attribute tests, Novell NPUBLIC\FLAG baseline and MARS PUBLIC\FLAG regression notes. |
flagdir/ |
Planned: directory-specific FLAG and recursive attribute tests. |
grant/ |
Planned: trustee grant tests. |
rights/ |
Planned: effective-rights and trustee readback tests. |
map/ |
Planned: MAP command and login-script mapping tests. |
login/ |
Planned: LOGIN/NLOGIN compatibility tests. |
logout/ |
Planned: LOGOUT/NLOGOUT compatibility tests. |
Naming
DOS-executed files should use 8.3 names. Keep Novell reference tests and MARS tests close together, but name them clearly.
Suggested suffixes:
*N.BATfor Novell-only baseline tests usingNPUBLIC/NLOGIN.*M.TSTor*M.BATfor MARS/dosutils tests usingPUBLIC/LOGIN.*CMP.BATfor comparison/helper scripts.
Expected workflow
- Run the Novell baseline test first.
- Check the MARS NWE server log for the expected NCP path and completion codes.
- Run or implement the matching MARS/dosutils regression test.
- Keep notes in the feature directory
README.md.