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

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