Исходники, Dockerfile, compose.yaml, скрипты и собственные тесты скопированы из mtusi2026lab3 (ветка solution/bvt2302-bodanyuk, b6847e2) как есть; изменения lab4 — отдельными коммитами. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
7 lines
342 B
Batchfile
7 lines
342 B
Batchfile
@echo off
|
|
rem Windows wrapper: tests/resilience.py starts the hook as a program, and Windows
|
|
rem cannot execute a .sh file directly. Runs the same scripts\restart.sh with Git Bash.
|
|
rem python tests/resilience.py --mode persistence --action-script scripts/restart.cmd
|
|
"%ProgramFiles%\Git\bin\bash.exe" "%~dp0restart.sh"
|
|
exit /b %ERRORLEVEL%
|