Files
mars-dosutils/test/whoami/README.md
Mario Fetka f214e89d69 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
2026-05-27 13:31:46 +02:00

40 lines
1010 B
Markdown

# WHOAMI baseline test
This directory contains a Novell `WHOAMI` baseline test for MARS NWE.
## Files
- `WHOSTA.BAT` - runs the baseline test and writes results to `F:\WHOCMP`.
- `WHOZIP.BAT` - packs the result directory into `F:\WHOCMP\WHOSTA.ZIP`.
## Run
Run while logged in as the user whose identity/context should be captured, normally `SUPERVISOR`:
```bat
F:
CD WHOSTA
WHOZIP
```
## Coverage
The test uses Novell baseline tool `\NPUBLIC\WHOAMI` and captures:
- default `WHOAMI`
- explicit server `WHOAMI MARS`
- documented options: `/SECURITY`, `/GROUPS`, `/WORKGROUPS`, `/RIGHTS`, `/SYSTEM`, `/OBJECT`, `/ALL`
- missing-server case with `NWBYGONE01`
- bad-option case
- help text from `WHOAMI /?`
Known usage from Novell baseline:
```text
Usage:
WHOAMI [Server] [/Security] [/Groups] [/WorkGroups] [/Rights] [/SYstem]
[/Object] [/All] [/Continuous]
```
The output is login-context dependent, so later comparisons should normalize user/server/date/session-specific lines where needed.