Changeset 2827


Ignore:
Timestamp:
08/01/2011 21:26:45 (17 months ago)
Author:
chris
Message:

Fix compile failure caused by [2745].

File:
1 edited

Legend:

Unmodified
Added
Removed
  • box/RELEASE/0.11.1/test/bbackupd/testbbackupd.cpp

    r2510 r2827  
    522522                         
    523523                        // Test the restoration 
    524                         TEST_THAT(BackupClientRestore(protocol, restoredirid, "testfiles/restore-interrupt", true /* print progress dots */) == Restore_Complete); 
     524                        TEST_THAT(BackupClientRestore(protocol, restoredirid, 
     525                                "Test1", "testfiles/restore-interrupt", 
     526                                true /* print progress dots */) 
     527                                == Restore_Complete); 
    525528 
    526529                        // Log out 
     
    34073410                        // Test the restoration 
    34083411                        TEST_THAT(BackupClientRestore(*client, restoredirid,  
    3409                                 "testfiles/restore-Test1",  
     3412                                "Test1", "testfiles/restore-Test1",  
    34103413                                true /* print progress dots */)  
    34113414                                == Restore_Complete); 
     
    34163419                        // Make sure you can't restore a restored directory 
    34173420                        TEST_THAT(BackupClientRestore(*client, restoredirid,  
    3418                                 "testfiles/restore-Test1",  
     3421                                "Test1", "testfiles/restore-Test1",  
    34193422                                true /* print progress dots */)  
    34203423                                == Restore_TargetExists); 
     
    34273430                        // properly later (when bbackupd is stopped) 
    34283431                        TEST_THAT(BackupClientRestore(*client, deldirid,  
    3429                                 "testfiles/restore-Test1-x1",  
     3432                                "Test1", "testfiles/restore-Test1-x1",  
    34303433                                true /* print progress dots */,  
    34313434                                true /* deleted files */)  
     
    34403443                                Logging::Guard guard(Log::FATAL); 
    34413444                                TEST_THAT(BackupClientRestore(*client, 
    3442                                         restoredirid,  
     3445                                        restoredirid, "Test1", 
    34433446                                        "testfiles/no-such-path/subdir",  
    34443447                                        true /* print progress dots */)  
     
    37883791                        // rather than doing anything 
    37893792                        TEST_THAT(BackupClientRestore(*client, restoredirid,  
    3790                                 "testfiles/restore-interrupt",  
     3793                                "Test1", "testfiles/restore-interrupt",  
    37913794                                true /* print progress dots */)  
    37923795                                == Restore_ResumePossible); 
     
    37943797                        // Then resume it 
    37953798                        TEST_THAT(BackupClientRestore(*client, restoredirid,  
    3796                                 "testfiles/restore-interrupt",  
     3799                                "Test1", "testfiles/restore-interrupt",  
    37973800                                true /* print progress dots */,  
    37983801                                false /* deleted files */,  
     
    38293832                        // Do restore and undelete 
    38303833                        TEST_THAT(BackupClientRestore(*client, deldirid,  
    3831                                 "testfiles/restore-Test1-x1-2",  
     3834                                "Test1", "testfiles/restore-Test1-x1-2",  
    38323835                                true /* print progress dots */,  
    38333836                                true /* deleted files */,  
Note: See TracChangeset for help on using the changeset viewer.