Files
mars-dosutils/test/flagdir/FDGTZIP.BAT
Mario Fetka 5da600c2a5 dosutils: match Novell paths for flags and trustees
Move FLAG, GRANT and REMOVE closer to the request paths used by the
Novell tools and extend the DOS comparison tests.

FLAG now reads attributes through the old NCP22 directory scan path and
writes them through NCP22/25 Set Directory/File Information. This keeps
extended attributes such as Delete Inhibit and Rename Inhibit intact and
matches the Novell behavior observed in the server logs.

GRANT now prefers NCP22/27 SetTrustee with an NCP87 fallback. Supervisor
rights are expanded like Novell does, so granting S sends and reports the
full SRWCEMFA mask. The visible output, path formatting and error text
are adjusted to match the Novell baseline.

REMOVE now prefers NCP22/2B DelTrustee with an NCP87 fallback. The
DelTrustee request layout is corrected, /SUBDIRS handling is aligned
with Novell, and the output/error text is matched to the baseline.

The FLAG, FLAGDIR, GRANT and REMOVE tests now compare NPUBLIC baselines
against the PUBLIC implementations and add delayed NOPASSUSER readback
checks using DLYSTRT and the maintainer LOGIN password option.
2026-05-28 07:54:41 +02:00

26 lines
694 B
Batchfile

@ECHO OFF
REM FDGTZIP.BAT
REM Optional packer for FDGTSTA result files.
REM Requires ZIP.EXE in PATH or current directory.
F:
CD \FDGCMP
IF EXIST FDGTSTA.ZIP DEL FDGTSTA.ZIP
IF EXIST ZIP.LOG DEL ZIP.LOG
ECHO Creating FDGTSTA.ZIP > ZIP.LOG
ZIP -r FDGTSTA.ZIP RUN.LOG SUMMARY.TXT COMPARE.LOG UCOMP.LOG HELPER.TXT OUT PUBOUT SETUP UNOV UPUB >> ZIP.LOG
REM Cleanup generated test directories after ZIP.
ECHO Cleaning generated test directories... >> ZIP.LOG
IF EXIST \FDGTEST\NUL DELTREE /Y \FDGTEST >> ZIP.LOG
IF EXIST \FDGTMP\NUL DELTREE /Y \FDGTMP >> ZIP.LOG
CD \
ECHO.
ECHO ZIP step finished.
ECHO Check:
ECHO F:\FDGCMP\FDGTSTA.ZIP
ECHO F:\FDGCMP\ZIP.LOG
ECHO.