Files
mars-dosutils/test/creator/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

76 lines
1.1 KiB
Markdown

# CREATOR / xattr automated test
This replaces the old FILER/manual creator-xattr test with a direct test using
`PUBLIC\CREATOR.EXE`.
## Requirements
`PUBLIC\CREATOR.EXE` from the new dosutils tree must be installed.
## DOS flow
Run as `SUPERVISOR`:
```text
CIXSTA
```
Then run the Linux-side collector:
```sh
sudo ./cix_collect_xattr.sh
```
Then package in DOS:
```text
CIXZIP
```
Result ZIP:
```text
F:\CIXCMP\CIXSTA.ZIP
```
Linux package with server log:
```sh
sudo ./mars_packtest_v3.sh cixsta 5 mario
```
## Test directories
```text
F:\CIXTEST
F:\CIXCMP
```
## What CIXSTA does
```text
S_SUP.TXT:
PUBLIC\CREATOR ... /CREATOR MARIO
PUBLIC\CREATOR ... /MODIFIER MARIO
Expected xattr: user.mars_nwe.fileinfo
S_ARCH.TXT:
PUBLIC\CREATOR ... /ARCHIVE MARIO
Expected xattr: user.mars_nwe.archive
S_ALL.TXT:
PUBLIC\CREATOR ... /ALL MARIO 2026-05-25 16:12:00
Expected xattrs: user.mars_nwe.fileinfo and user.mars_nwe.archive
```
## Important outputs
```text
F:\CIXCMP\POST\CSUP.OUT
F:\CIXCMP\POST\CARCH.OUT
F:\CIXCMP\POST\CALL.OUT
F:\CIXCMP\POST\SUPDAT.OUT
F:\CIXCMP\LINUX\getfattr.txt
F:\CIXCMP\LINUX\xattr_focus.txt
```