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
57 lines
738 B
Markdown
57 lines
738 B
Markdown
# NDIR automated test
|
|
|
|
Automated Novell-only baseline for `NPUBLIC\NDIR`.
|
|
|
|
## Run
|
|
|
|
```text
|
|
NDIRTSTA
|
|
```
|
|
|
|
Results:
|
|
|
|
```text
|
|
F:\NDCMP\RUN.LOG
|
|
F:\NDCMP\SUMMARY.TXT
|
|
F:\NDCMP\OUT\*.OUT
|
|
```
|
|
|
|
Optional pack:
|
|
|
|
```text
|
|
NDIRZIP
|
|
```
|
|
|
|
Upload:
|
|
|
|
```text
|
|
F:\NDCMP\NDIRTSTA.ZIP
|
|
```
|
|
|
|
Then on Linux package with server log:
|
|
|
|
```sh
|
|
sudo ./mars_packtest_v3.sh ndirtsta 5 mario
|
|
```
|
|
|
|
The pack helper should find `/var/mars_nwe/SYS/NDCMP/NDIRTSTA.ZIP` by search.
|
|
|
|
## Test tree
|
|
|
|
```text
|
|
F:\TNDIR
|
|
```
|
|
|
|
## Coverage
|
|
|
|
- basic directory and file NDIR
|
|
- `/DATES`
|
|
- `/RIGHTS`
|
|
- attributes via `NPUBLIC\FLAG`
|
|
- filters `/H`, `/RO`, `/SY`, `/A`, `/NOT H`, `/NOT RO`
|
|
- sorts `/SORT UN`, `/SORT SI`, `/SORT UP`
|
|
- wildcards `*.TXT`, `*.DAT`
|
|
- `/FO`, `/DO`
|
|
- `/SUB`
|
|
- cleanup
|