Files
mars-dosutils/test
Mario Fetka 5da600c2a5 dosutils: match Novell paths for flags and trustees
Move FLAG, GRANT and REMOVE closer to the request paths used by the
Novell tools and extend the DOS comparison tests.

FLAG now reads attributes through the old NCP22 directory scan path and
writes them through NCP22/25 Set Directory/File Information. This keeps
extended attributes such as Delete Inhibit and Rename Inhibit intact and
matches the Novell behavior observed in the server logs.

GRANT now prefers NCP22/27 SetTrustee with an NCP87 fallback. Supervisor
rights are expanded like Novell does, so granting S sends and reports the
full SRWCEMFA mask. The visible output, path formatting and error text
are adjusted to match the Novell baseline.

REMOVE now prefers NCP22/2B DelTrustee with an NCP87 fallback. The
DelTrustee request layout is corrected, /SUBDIRS handling is aligned
with Novell, and the output/error text is matched to the baseline.

The FLAG, FLAGDIR, GRANT and REMOVE tests now compare NPUBLIC baselines
against the PUBLIC implementations and add delayed NOPASSUSER readback
checks using DLYSTRT and the maintainer LOGIN password option.
2026-05-28 07:54:41 +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.