Files
mars-dosutils/test
Mario Fetka 4ad455c6df dosutils: add maintainer helpers and compare-ready tools
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.
2026-05-27 20:14:01 +02:00
..

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.BAT for Novell-only baseline tests using NPUBLIC/NLOGIN.
  • *M.TST or *M.BAT for MARS/dosutils tests using PUBLIC/LOGIN.
  • *CMP.BAT for comparison/helper scripts.

Expected workflow

  1. Run the Novell baseline test first.
  2. Check the MARS NWE server log for the expected NCP path and completion codes.
  3. Run or implement the matching MARS/dosutils regression test.
  4. Keep notes in the feature directory README.md.