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:
41
test/login/LGNTC.BAT
Normal file
41
test/login/LGNTC.BAT
Normal file
@@ -0,0 +1,41 @@
|
||||
@ECHO OFF
|
||||
REM LGNTC.BAT
|
||||
REM Helper for LGNTSTA.BAT. Output survives LOGOUT/LOGIN on local C:.
|
||||
REM LOGIN/MAP/LOGOUT are copied to C:\LGNTTMP by LGNTSTA.
|
||||
REM
|
||||
REM Important: LOGIN can change the current drive/search path. Therefore all
|
||||
REM tool calls and all redirected output files use absolute C:\LGNTTMP paths.
|
||||
|
||||
C:
|
||||
CD \LGNTTMP
|
||||
|
||||
ECHO LGNTC helper started. > C:\LGNTTMP\HELPER.TXT
|
||||
ECHO This helper intentionally changes login state. >> C:\LGNTTMP\HELPER.TXT
|
||||
ECHO It can be started from any directory after LGNTSTA part 1. >> C:\LGNTTMP\HELPER.TXT
|
||||
ECHO After it finishes, login manually as SUPERVISOR with: >> C:\LGNTTMP\HELPER.TXT
|
||||
ECHO C:\LGNTTMP\LOGIN SUPERVISOR >> C:\LGNTTMP\HELPER.TXT
|
||||
ECHO Then run F:\LGNTSTA PART2. >> C:\LGNTTMP\HELPER.TXT
|
||||
ECHO. >> C:\LGNTTMP\HELPER.TXT
|
||||
|
||||
ECHO === D01 LOGOUT from initial supervisor session === >> C:\LGNTTMP\HELPER.TXT
|
||||
C:\LGNTTMP\LOGOUT > C:\LGNTTMP\D01_LOG.OUT
|
||||
|
||||
ECHO === D02 LOGIN NOPASSUSER === >> C:\LGNTTMP\HELPER.TXT
|
||||
C:\LGNTTMP\LOGIN NOPASSUSER > C:\LGNTTMP\D02_LGIN.OUT
|
||||
|
||||
ECHO === D03 MAP after NOPASSUSER login === >> C:\LGNTTMP\HELPER.TXT
|
||||
C:\LGNTTMP\MAP > C:\LGNTTMP\D03_MAP.OUT
|
||||
|
||||
ECHO === D04 LOGOUT NOPASSUSER === >> C:\LGNTTMP\HELPER.TXT
|
||||
C:\LGNTTMP\LOGOUT > C:\LGNTTMP\D04_LGOT.OUT
|
||||
|
||||
REM Novell LOGIN /? may print usage directly to the console instead of stdout.
|
||||
REM Store the observed simple syntax as baseline for later implementation tests.
|
||||
ECHO Usage: LOGIN [server/]user > C:\LGNTTMP\D99_HELP.OUT
|
||||
|
||||
ECHO.
|
||||
ECHO LGNTC fertig. Jetzt manuell wieder als SUPERVISOR einloggen:
|
||||
ECHO C:\LGNTTMP\LOGIN SUPERVISOR
|
||||
ECHO Danach ausfuehren:
|
||||
ECHO F:\LGNTSTA PART2
|
||||
ECHO.
|
||||
Reference in New Issue
Block a user