Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

18 lines
525 B

rem ==== VARIATION 3 =====
set VARIATION=Reinstall database after backup
call check_db 1
start "%TEST_WORKLOAD_SIGNATURE%" osql_db workload.sql
call backup_db
call kill_osql %TEST_WORKLOAD_SIGNATURE%
if not exist %BACKUP_LOCATION%\WRITER*.xml call process_result -1 & goto :EOF
@echo -- waiting 30 seconds for the DB to close its stuff ---
sleep 30
call osql_db variation2_%DB%.sql
call install_db
call check_db 2
call compare_db 1 2 check_difference
call restore_db
call check_db 3
call compare_db 1 3