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
47 lines
1.1 KiB
Markdown
47 lines
1.1 KiB
Markdown
# REMOVE baseline test
|
|
|
|
`RMVSTA.BAT` captures Novell `\NPUBLIC\REMOVE` behavior for trustee removal.
|
|
|
|
Run as `SUPERVISOR` or a user with Access Control rights:
|
|
|
|
```bat
|
|
F:
|
|
CD \
|
|
RMVSTA
|
|
RMVZIP
|
|
```
|
|
|
|
Result directory:
|
|
|
|
```text
|
|
F:\RMVCMP
|
|
```
|
|
|
|
Test directory:
|
|
|
|
```text
|
|
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.
|