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.

15 lines
460 B

  1. rem ==== VARIATION 1 =====
  2. set VARIATION=Simple backup
  3. call osql_db prepare_variation1.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. call osql_db variation1.sql %DB%
  10. call check_db 2
  11. call compare_db 1 2 check_difference
  12. call restore_db
  13. call check_db 3
  14. call compare_db 1 3