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
This commit is contained in:
19
test/grant/README.md
Normal file
19
test/grant/README.md
Normal file
@@ -0,0 +1,19 @@
|
||||
# GRANT baseline test
|
||||
|
||||
Scripts:
|
||||
|
||||
- `GRNTSTA.BAT` creates `F:\GRNTEST`, captures Novell `\NPUBLIC\GRANT` output into `F:\GRNTCMP\OUT`, and uses user `MARIO` as trustee target.
|
||||
- `GRNTZIP.BAT` packages `RUN.LOG`, `SUMMARY.TXT`, and `OUT` as `F:\GRNTCMP\GRNTSTA.ZIP`.
|
||||
|
||||
Run as `SUPERVISOR` or an equivalent user with Access Control rights on `F:\GRNTEST`.
|
||||
|
||||
Covered cases:
|
||||
|
||||
- help and no-argument grammar
|
||||
- directory grants with explicit rights, `ALL`, and `N`
|
||||
- `/SUBDIRECTORIES`
|
||||
- `/FILES` on an explicit file
|
||||
- relative path invocation from inside the test directory while invoking `\NPUBLIC\GRANT` absolutely
|
||||
- invalid right, missing user, missing path, 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.
|
||||
Reference in New Issue
Block a user