backupandrestore/backuptest/burtestserver/testscripts/test_increament.script
changeset 51 64200268cac2
parent 29 3ae5cb0b4c02
equal deleted inserted replaced
50:965bb42340b2 51:64200268cac2
    38 //! @SYMTestStatus Released
    38 //! @SYMTestStatus Released
    39 //! @SYMTestPriority High
    39 //! @SYMTestPriority High
    40 //! @SYMTestActions   Specify 0AB7E58F need be backup
    40 //! @SYMTestActions   Specify 0AB7E58F need be backup
    41 //! @SYMTestExpectedResults no error
    41 //! @SYMTestExpectedResults no error
    42 //! @SYMTestType CIT
    42 //! @SYMTestType CIT
    43 RUN_TEST_STEP 100 BURTestServer TestBackup z:\testdata\scripts\sbetestdata\test.ini BACKUP_RESTORE_0080
    43 RUN_TEST_STEP 300 BURTestServer TestBackup z:\testdata\scripts\sbetestdata\test.ini BACKUP_RESTORE_0080
    44 END_TESTCASE MTP-SBE-BACKUPBASE-0000
    44 END_TESTCASE MTP-SBE-BACKUPBASE-0000
       
    45 
       
    46 DELAY 10000
    45 
    47 
    46 RUN_UTILS DeleteFile c:\private\0AB7E58F\needbackup.xml
    48 RUN_UTILS DeleteFile c:\private\0AB7E58F\needbackup.xml
    47 RUN_UTILS CopyFile  z:\testdata\scripts\sbetestdata\testbigfile.dat c:\private\0AB7E58F\needbackup.xml
    49 RUN_UTILS CopyFile  z:\testdata\scripts\sbetestdata\testbigfile.dat c:\private\0AB7E58F\needbackup.xml
    48 RUN_UTILS MakeReadWrite c:\private\0AB7E58F\needbackup.xml
    50 RUN_UTILS MakeReadWrite c:\private\0AB7E58F\needbackup.xml
    49 RUN_UTILS CopyFile  c:\private\0AB7E58F\backup_registration.xml c:\publicbackup.xml
    51 RUN_UTILS CopyFile  c:\private\0AB7E58F\backup_registration.xml c:\publicbackup.xml
    54 //! @SYMTestStatus Released
    56 //! @SYMTestStatus Released
    55 //! @SYMTestPriority High
    57 //! @SYMTestPriority High
    56 //! @SYMTestActions   Specify 0AB7E58F need be backup
    58 //! @SYMTestActions   Specify 0AB7E58F need be backup
    57 //! @SYMTestExpectedResults no error
    59 //! @SYMTestExpectedResults no error
    58 //! @SYMTestType CIT
    60 //! @SYMTestType CIT
    59 RUN_TEST_STEP 100 BURTestServer TestBackup z:\testdata\scripts\sbetestdata\test.ini BACKUP_RESTORE_0090
    61 RUN_TEST_STEP 300 BURTestServer TestBackup z:\testdata\scripts\sbetestdata\test.ini BACKUP_RESTORE_0090
    60 END_TESTCASE MTP-SBE-BACKUPINCREAMENT-0010
    62 END_TESTCASE MTP-SBE-BACKUPINCREAMENT-0010
       
    63 
       
    64 DELAY 10000
    61 
    65 
    62 RUN_UTILS DeleteFile c:\publicbackup.xml
    66 RUN_UTILS DeleteFile c:\publicbackup.xml
    63 RUN_UTILS DeleteFile c:\private\0AB7E58F\needbackup.xml
    67 RUN_UTILS DeleteFile c:\private\0AB7E58F\needbackup.xml
    64 START_TESTCASE MTP-SBE-RESTOREINCREAMENT-0020
    68 START_TESTCASE MTP-SBE-RESTOREINCREAMENT-0020
    65 //! @SYMTestCaseID MTP-SBE-RESTOREINCREAMENT-0020
    69 //! @SYMTestCaseID MTP-SBE-RESTOREINCREAMENT-0020
    68 //! @SYMTestStatus Released
    72 //! @SYMTestStatus Released
    69 //! @SYMTestPriority High
    73 //! @SYMTestPriority High
    70 //! @SYMTestActions   Specify 0AB7E58F need be increament restore
    74 //! @SYMTestActions   Specify 0AB7E58F need be increament restore
    71 //! @SYMTestExpectedResults no error
    75 //! @SYMTestExpectedResults no error
    72 //! @SYMTestType CIT
    76 //! @SYMTestType CIT
    73 RUN_TEST_STEP 500 BURTestServer TestRestore z:\testdata\scripts\sbetestdata\test.ini BACKUP_RESTORE_0090
    77 RUN_TEST_STEP 300 BURTestServer TestRestore z:\testdata\scripts\sbetestdata\test.ini BACKUP_RESTORE_0090
    74 END_TESTCASE MTP-SBE-RESTOREINCREAMENT-0020
    78 END_TESTCASE MTP-SBE-RESTOREINCREAMENT-0020
       
    79 
       
    80 DELAY 10000
    75 
    81 
    76 RUN_UTILS DeleteFile c:\private\0AB7E58F\needbackup.xml
    82 RUN_UTILS DeleteFile c:\private\0AB7E58F\needbackup.xml
    77 RUN_UTILS DeleteFile c:\BackupArchive\AB7E58F\C\Passive\Base\data.bkp
    83 RUN_UTILS DeleteFile c:\BackupArchive\AB7E58F\C\Passive\Base\data.bkp
    78 START_TESTCASE MTP-SBE-INVALIDDATARESTORE-0030
    84 START_TESTCASE MTP-SBE-INVALIDDATARESTORE-0030
    79 //! @SYMTestCaseID MTP-SBE-INVALIDDATARESTORE-0030
    85 //! @SYMTestCaseID MTP-SBE-INVALIDDATARESTORE-0030
    82 //! @SYMTestStatus Released
    88 //! @SYMTestStatus Released
    83 //! @SYMTestPriority High
    89 //! @SYMTestPriority High
    84 //! @SYMTestActions   Delete some data store data and try restore
    90 //! @SYMTestActions   Delete some data store data and try restore
    85 //! @SYMTestExpectedResults no error and SBE do nothing
    91 //! @SYMTestExpectedResults no error and SBE do nothing
    86 //! @SYMTestType CIT
    92 //! @SYMTestType CIT
    87 RUN_TEST_STEP 500 BURTestServer TestRestore z:\testdata\scripts\sbetestdata\test.ini BACKUP_RESTORE_0090
    93 RUN_TEST_STEP 300 BURTestServer TestRestore z:\testdata\scripts\sbetestdata\test.ini BACKUP_RESTORE_0090
    88 END_TESTCASE MTP-SBE-INVALIDDATARESTORE-0030
    94 END_TESTCASE MTP-SBE-INVALIDDATARESTORE-0030
       
    95 
       
    96 DELAY 10000
    89 
    97 
    90 RUN_UTILS DeleteDirectory c:\private\0AB7E58F\
    98 RUN_UTILS DeleteDirectory c:\private\0AB7E58F\
    91 START_TESTCASE MTP-SBE-ACTIVEBASEBACKUP-0040
    99 START_TESTCASE MTP-SBE-ACTIVEBASEBACKUP-0040
    92 //! @SYMTestCaseID MTP-SBE-ACTIVEBASEBACKUP-0040
   100 //! @SYMTestCaseID MTP-SBE-ACTIVEBASEBACKUP-0040
    93 //! @SYMTestCaseDesc Backup an active data owner
   101 //! @SYMTestCaseDesc Backup an active data owner
    95 //! @SYMTestStatus Released
   103 //! @SYMTestStatus Released
    96 //! @SYMTestPriority High
   104 //! @SYMTestPriority High
    97 //! @SYMTestActions   Specify active data owner need be backup
   105 //! @SYMTestActions   Specify active data owner need be backup
    98 //! @SYMTestExpectedResults no error
   106 //! @SYMTestExpectedResults no error
    99 //! @SYMTestType CIT
   107 //! @SYMTestType CIT
   100 RUN_TEST_STEP 100 BURTestServer TestBackup z:\testdata\scripts\sbetestdata\test.ini INC_BACKUP_RESTORE_0010
   108 RUN_TEST_STEP 300 BURTestServer TestBackup z:\testdata\scripts\sbetestdata\test.ini INC_BACKUP_RESTORE_0010
   101 END_TESTCASE MTP-SBE-ACTIVEBASEBACKUP-0040
   109 END_TESTCASE MTP-SBE-ACTIVEBASEBACKUP-0040
       
   110 
       
   111 DELAY 10000
   102 
   112 
   103 START_TESTCASE MTP-SBE-ACTIVEINCBACKUP-0050
   113 START_TESTCASE MTP-SBE-ACTIVEINCBACKUP-0050
   104 //! @SYMTestCaseID MTP-SBE-ACTIVEINCBACKUP-0050
   114 //! @SYMTestCaseID MTP-SBE-ACTIVEINCBACKUP-0050
   105 //! @SYMTestCaseDesc Increament backup an active data owner
   115 //! @SYMTestCaseDesc Increament backup an active data owner
   106 //! @SYMPREQ 2492
   116 //! @SYMPREQ 2492
   107 //! @SYMTestStatus Released
   117 //! @SYMTestStatus Released
   108 //! @SYMTestPriority High
   118 //! @SYMTestPriority High
   109 //! @SYMTestActions   Specify active data owner need be backup
   119 //! @SYMTestActions   Specify active data owner need be backup
   110 //! @SYMTestExpectedResults no error
   120 //! @SYMTestExpectedResults no error
   111 //! @SYMTestType CIT
   121 //! @SYMTestType CIT
   112 RUN_TEST_STEP 100 BURTestServer TestBackup z:\testdata\scripts\sbetestdata\test.ini INC_BACKUP_RESTORE_0020
   122 RUN_TEST_STEP 300 BURTestServer TestBackup z:\testdata\scripts\sbetestdata\test.ini INC_BACKUP_RESTORE_0020
   113 END_TESTCASE MTP-SBE-ACTIVEINCBACKUP-0050
   123 END_TESTCASE MTP-SBE-ACTIVEINCBACKUP-0050
       
   124 
       
   125 DELAY 10000
   114 
   126 
   115 START_TESTCASE MTP-SBE-ACTIVEBASERESTORE-0060
   127 START_TESTCASE MTP-SBE-ACTIVEBASERESTORE-0060
   116 //! @SYMTestCaseID MTP-SBE-ACTIVEBASERESTORE-0060
   128 //! @SYMTestCaseID MTP-SBE-ACTIVEBASERESTORE-0060
   117 //! @SYMTestCaseDesc Base restore
   129 //! @SYMTestCaseDesc Base restore
   118 //! @SYMPREQ 2492
   130 //! @SYMPREQ 2492
   119 //! @SYMTestStatus Released
   131 //! @SYMTestStatus Released
   120 //! @SYMTestPriority High
   132 //! @SYMTestPriority High
   121 //! @SYMTestActions   Specify the active data owner need be base restore 
   133 //! @SYMTestActions   Specify the active data owner need be base restore 
   122 //! @SYMTestType CIT
   134 //! @SYMTestType CIT
   123 RUN_TEST_STEP 500 BURTestServer TestRestore z:\testdata\scripts\sbetestdata\test.ini INC_BACKUP_RESTORE_0010
   135 RUN_TEST_STEP 300 BURTestServer TestRestore z:\testdata\scripts\sbetestdata\test.ini INC_BACKUP_RESTORE_0010
   124 END_TESTCASE MTP-SBE-ACTIVEBASERESTORE-0060
   136 END_TESTCASE MTP-SBE-ACTIVEBASERESTORE-0060
       
   137 
       
   138 DELAY 10000
   125 
   139 
   126 START_TESTCASE MTP-SBE-ACTIVEINCRESTORE-0070
   140 START_TESTCASE MTP-SBE-ACTIVEINCRESTORE-0070
   127 //! @SYMTestCaseID MTP-SBE-ACTIVEINCRESTORE-0070
   141 //! @SYMTestCaseID MTP-SBE-ACTIVEINCRESTORE-0070
   128 //! @SYMTestCaseDesc Increament restore
   142 //! @SYMTestCaseDesc Increament restore
   129 //! @SYMPREQ 2492
   143 //! @SYMPREQ 2492
   130 //! @SYMTestStatus Released
   144 //! @SYMTestStatus Released
   131 //! @SYMTestPriority High
   145 //! @SYMTestPriority High
   132 //! @SYMTestActions   Specify the active data owner need be increament restore  
   146 //! @SYMTestActions   Specify the active data owner need be increament restore  
   133 //! @SYMTestType CIT
   147 //! @SYMTestType CIT
   134 RUN_TEST_STEP 500 BURTestServer TestRestore z:\testdata\scripts\sbetestdata\test.ini INC_BACKUP_RESTORE_0020
   148 RUN_TEST_STEP 300 BURTestServer TestRestore z:\testdata\scripts\sbetestdata\test.ini INC_BACKUP_RESTORE_0020
   135 END_TESTCASE MTP-SBE-ACTIVEINCRESTORE-0070
   149 END_TESTCASE MTP-SBE-ACTIVEINCRESTORE-0070
       
   150 
       
   151 DELAY 10000