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
2.0 KiB
REVOKE baseline test
Scripts:
RVKSTA.BATcreatesF:\RVKTEST, uses Novell\NPUBLIC\GRANTfor setup, then captures Novell\NPUBLIC\REVOKEoutput intoF:\RVKCMP\OUT. UserMARIOis used as trustee target.RVKZIP.BATpackagesRUN.LOG,SUMMARY.TXT,SETUP, andOUTasF:\RVKCMP\RVKSTA.ZIP.
Run as SUPERVISOR or an equivalent user with Access Control rights on F:\RVKTEST.
Covered cases:
- help and no-argument grammar
- normal directory revoke
ALLrevoke / trustee removal/SUBDIRECTORIESwith trustees placed directly on child directories/FILESon an explicit file and on a directory file set- relative path invocation from inside the test directory while invoking
\NPUBLIC\REVOKEabsolutely - no trustee, missing user, missing path behavior,
/FILESplus/SUBDIRECTORIESoption-combination behavior, and bad grammar
This test is still Novell-baseline-only. Later comparison scripts should run the same command set through NPUBLIC and PUBLIC with normalized output.
Notes from the first baseline run:
-
REVOKE /SUBDIRECTORIESdid not exercise child paths unless trustees existed on the child directories themselves, soD20now usesSUBTST\S1andSUBTST\S2with direct trustee setup. -
Novell
REVOKEmay reportNo trustee for the specified directory.for a missing path before a separate missing-path diagnostic is reached;D92records that baseline behavior. -
D93now uses an independent tree with directory, file, and subdirectory trustees so the/FILES /SUBDIRECTORIESoption combination is tested without being masked by missing trustee setup. Retest focus after the fix: -
D20_SUBDIRS_REVOKE_CE.OUTshould no longer be masked by a missing trustee on the named root. -
D92_MISSING_PATH.OUTrecords the exact Novell diagnostic for a missing path, even if that diagnostic is stillNo trustee for the specified directory. -
D93_FILES_AND_SUBDIRS.OUTruns on a prepared tree with directory, file, and subdirectory trustees, so the/FILES /SUBDIRECTORIEScombination is no longer masked by setup.