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
1.1 KiB
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:
D01help / usageD02no argumentsD10removeUSER MARIOfrom a directoryD11removeMARIOwithout the explicitUSERkeywordD20/SUBDIRSD21/FILESon an explicit fileD22/FILESon all files in a directoryD30relative path fromF:\RMVTESTD90no trusteeD91missing userD92missing pathD93/FILESand/SUBDIRStogetherD94bad 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.