mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

al_xipe
02.41.2007 bc4edce28c7c4303776e9fb7c1dc194b198d12d0
opends/tests/functional-tests/staf-installer/replay.bat
@@ -1,11 +1,11 @@
@echo off
echo Backing configuration up
move "${tests.config}" "${tests.config.backup}"
echo Loading configuration as of ${tests.run.time}
copy "${tests.run.dir}${file.separator}${tests.run.time}${file.separator}config${file.separator}${tests.config.file}" "${tests.config}"
echo Starting test run
"${staf.install.dir}${file.separator}bin${file.separator}STAF.exe" local STAX "${tests.request}"
echo Removing configuration of ${tests.run.time}
del /f "${tests.config}"
echo Restoring original configuration
move "${tests.config.backup}" "${tests.config}"
@echo off
echo Backing configuration up
move "${tests.config}" "${tests.config.backup}"
echo Loading configuration as of ${tests.run.time}
copy "${tests.run.dir}${file.separator}${tests.run.time}${file.separator}config${file.separator}${tests.config.file}" "${tests.config}"
echo Starting test run
"${staf.install.dir}${file.separator}bin${file.separator}STAF.exe" local STAX "${tests.request}"
echo Removing configuration of ${tests.run.time}
del /f "${tests.config}"
echo Restoring original configuration
move "${tests.config.backup}" "${tests.config}"