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
544 B

  1. rem ==== VARIATION 2 =====
  2. set VARIATION=Drop database after backup
  3. call osql_db pre_workload.sql %DB%
  4. call check_db 1
  5. start "%TEST_WORKLOAD_SIGNATURE%" osql_db workload.sql %DB%
  6. call backup_db
  7. call kill_osql %TEST_WORKLOAD_SIGNATURE%
  8. if not exist %BACKUP_LOCATION%\WRITER*.xml call process_result -1 & goto :EOF
  9. @echo -- waiting 30 seconds for the DB to close its stuff ---
  10. sleep 30
  11. call osql_db variation2_%DB%.sql
  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