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
This commit is contained in:
55
test/renmove/README.md
Normal file
55
test/renmove/README.md
Normal file
@@ -0,0 +1,55 @@
|
||||
# Rename / move / delete tests
|
||||
|
||||
Automated DOS-command baseline over the NetWare redirector.
|
||||
|
||||
## Run
|
||||
|
||||
```text
|
||||
RMTSTA
|
||||
```
|
||||
|
||||
Results:
|
||||
|
||||
```text
|
||||
F:\RCMP\RUN.LOG
|
||||
F:\RCMP\SUMMARY.TXT
|
||||
F:\RCMP\PRE\*.OUT
|
||||
F:\RCMP\POST\*.OUT
|
||||
F:\RCMP\CMP\*.OUT
|
||||
```
|
||||
|
||||
Optional pack:
|
||||
|
||||
```text
|
||||
RMTZIP
|
||||
```
|
||||
|
||||
Upload:
|
||||
|
||||
```text
|
||||
F:\RCMP\RMTSTA.ZIP
|
||||
```
|
||||
|
||||
Then on Linux package with server log:
|
||||
|
||||
```sh
|
||||
sudo ./mars_packtest_v3.sh rmtsta 5 mario
|
||||
```
|
||||
|
||||
## Coverage
|
||||
|
||||
- file rename in same directory using `REN`
|
||||
- expected failure: rename to existing target
|
||||
- move-like file operation via copy+delete across directories
|
||||
- directory rename using `MOVE`
|
||||
- file delete
|
||||
- empty directory remove
|
||||
- expected failure: remove non-empty directory
|
||||
|
||||
## Syntax note
|
||||
|
||||
This client rejects directory rename with `REN`, but accepts directory rename with:
|
||||
|
||||
```text
|
||||
MOVE olddir newdir
|
||||
```
|
||||
Reference in New Issue
Block a user