Add maintainer-only support used by the automated DOS compatibility tests. This introduces the MAINTAINER_BUILD option for the DOS tools. In maintainer builds, LOGIN accepts the hidden /PWD: and /PASSWORD: arguments for automated test relogin, and the DLYSTRT helper is built to delay-start DOS batch files after the invoking batch has returned to the prompt. Add the WHOAMI utility and wire it into the NET command dispatch. Also adjust SLIST and RIGHTS output to match Novell behavior more closely, including server-not-found handling, path formatting, Supervisor rights, missing-path errors and usage text. Extend the test scripts to compare NPUBLIC Novell baselines against the PUBLIC implementations. LOGIN/LOGOUT can now run automatically via DLYSTRT and the maintainer LOGIN password option. RIGHTS gains an additional NOPASSUSER effective-rights matrix that covers single rights, mixed rights, Supervisor rights, ALL/N and file trustee cases. Normal builds remain free of maintainer-only helpers and hidden password handling.
46 lines
1.2 KiB
Markdown
46 lines
1.2 KiB
Markdown
# RGHTSTA - RIGHTS comparison test
|
|
|
|
`RGHTSTA.BAT` compares Novell `RIGHTS` with the current implementation.
|
|
|
|
Result directories:
|
|
|
|
```text
|
|
F:\RGHTCMP\OUT Novell baseline using \NPUBLIC\RIGHTS
|
|
F:\RGHTCMP\PUBOUT current implementation using \PUBLIC\RIGHTS
|
|
F:\RGHTCMP\COMPARE.LOG
|
|
```
|
|
|
|
The test keeps the original Novell-baseline behavior and adds the public-tool
|
|
comparison layer.
|
|
|
|
Coverage:
|
|
|
|
- default/current directory from `F:\`
|
|
- explicit directory and subdirectory paths
|
|
- explicit file and nested file paths
|
|
- default/current directory from inside the test directory
|
|
- relative file and relative directory paths
|
|
- missing directory/file paths
|
|
- too-many-arguments and `/?` usage/help cases
|
|
|
|
operation. Its redirected output must be identical to the normal Novell output.
|
|
That means:
|
|
|
|
```text
|
|
OUT == PUBOUT
|
|
```
|
|
|
|
Run:
|
|
|
|
```bat
|
|
F:
|
|
CD \
|
|
RGHTSTA
|
|
RGHTZIP
|
|
```
|
|
|
|
The generated test tree is `F:\RGHTEST`. `RGHTZIP.BAT` packages the result and
|
|
then removes `F:\RGHTEST` again so the SYS root stays clean.
|
|
|
|
Note: `RIGHTS` currently has no short-output comparison in this baseline test. That switch exists for NDIR-style output control and should only be added to RIGHTS later if the tool implements it explicitly.
|