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
28 lines
679 B
Batchfile
28 lines
679 B
Batchfile
@ECHO OFF
|
|
REM LGNTZIP.BAT
|
|
REM Optional packer for LGNTSTA result files.
|
|
REM Requires ZIP.EXE in PATH or current directory.
|
|
|
|
F:
|
|
CD \LGNTCMP
|
|
|
|
IF EXIST LGNTSTA.ZIP DEL LGNTSTA.ZIP
|
|
IF EXIST ZIP.LOG DEL ZIP.LOG
|
|
|
|
ECHO Creating LGNTSTA.ZIP > ZIP.LOG
|
|
ZIP -r LGNTSTA.ZIP RUN.LOG SUMMARY.TXT OUT >> ZIP.LOG
|
|
|
|
REM Cleanup generated temporary files after ZIP.
|
|
REM Keep LGNTCMP because it contains the ZIP and ZIP.LOG.
|
|
ECHO Cleaning generated temporary files... >> ZIP.LOG
|
|
DELTREE /Y C:\LGNTTMP >> ZIP.LOG
|
|
IF EXIST C:\LGNTC.BAT DEL C:\LGNTC.BAT >> ZIP.LOG
|
|
|
|
CD \
|
|
ECHO.
|
|
ECHO ZIP step finished.
|
|
ECHO Check:
|
|
ECHO F:\LGNTCMP\LGNTSTA.ZIP
|
|
ECHO F:\LGNTCMP\ZIP.LOG
|
|
ECHO.
|