Files
mars-dosutils/test/remove/README.md
Mario Fetka f214e89d69 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
2026-05-27 13:31:46 +02:00

1.1 KiB

REMOVE baseline test

RMVSTA.BAT captures Novell \NPUBLIC\REMOVE behavior for trustee removal.

Run as SUPERVISOR or a user with Access Control rights:

F:
CD \
RMVSTA
RMVZIP

Result directory:

F:\RMVCMP

Test directory:

F:\RMVTEST

The setup uses \NPUBLIC\GRANT to create trustees for user MARIO, then runs \NPUBLIC\REMOVE for the baseline.

Note: Novell REMOVE help names the recursive option /Subdirs; this test uses /SUBDIRS, not /SUBDIRECTORIES.

Captured cases:

  • D01 help / usage
  • D02 no arguments
  • D10 remove USER MARIO from a directory
  • D11 remove MARIO without the explicit USER keyword
  • D20 /SUBDIRS
  • D21 /FILES on an explicit file
  • D22 /FILES on all files in a directory
  • D30 relative path from F:\RMVTEST
  • D90 no trustee
  • D91 missing user
  • D92 missing path
  • D93 /FILES and /SUBDIRS together
  • D94 bad grammar

RMVZIP.BAT packages RUN.LOG, SUMMARY.TXT, OUT, and SETUP, then removes the generated F:\RMVTEST tree so the SYS root does not accumulate test directories.