# REMOVE comparison test

`RMVSTA.BAT` compares Novell `\NPUBLIC\REMOVE` against the public implementation `\PUBLIC\REMOVE`.

Run as `SUPERVISOR` or equivalent. The automatic NOPASSUSER readback needs the maintainer `LOGIN /PWD:` support and `DLYSTRT`:

```bat
SET LGNTPWD=your-supervisor-password
F:
CD \
RMVSTA
```

`RMVSTA` performs a direct comparison first:

```text
F:\RMVCMP\OUT       Novell baseline with \NPUBLIC\REMOVE
F:\RMVCMP\PUBOUT    public implementation with \PUBLIC\REMOVE
F:\RMVCMP\COMPARE.LOG
```

Then it starts `C:\RMVTMP\RMVC.BAT` through `DLYSTRT`. The helper logs in as `NOPASSUSER` and captures effective-rights readback after the public REMOVE operations:

```text
F:\RMVCMP\UNOV      \NPUBLIC\RIGHTS as NOPASSUSER
F:\RMVCMP\UPUB      \PUBLIC\RIGHTS as NOPASSUSER
F:\RMVCMP\UCOMP.LOG
```

The matrix covers single trustee rights, mixed rights, `S`, `ALL`, `N`, file trustees with `/FILES`, and recursive removal with `/SUBDIRS`.

`RMVZIP.BAT` is intentionally manual. Run it after inspecting the results:

```bat
RMVZIP
```

The ZIP step packages `OUT`, `PUBOUT`, `UNOV`, `UPUB`, setup logs, comparison logs, and then removes the generated `F:\RMVTEST` and `C:\RMVTMP` trees.
