Changeset 1004


Ignore:
Timestamp:
12/10/2006 23:22:39 (5 years ago)
Author:
chris
Message:
  • Reverted, oops!
File:
1 edited

Legend:

Unmodified
Added
Removed
  • box/trunk/test/backupdiff/testbackupdiff.cpp

    r1003 r1004  
    370370        // Want to trace out all the details 
    371371        #ifndef NDEBUG 
    372         #ifndef WIN32 
    373372        BackupStoreFile::TraceDetailsOfDiffProcess = true; 
    374         #endif 
    375373        #endif 
    376374 
     
    506504        // found. Check this out! 
    507505 
    508         #ifdef WIN32 
    509         ::fprintf(stdout, "Testing diffing two large streams, " 
    510                 "may take a while!\n"); 
    511         ::fflush(stdout); 
    512         #endif 
    513  
    514506        make_file_of_zeros("testfiles/zero.0", 20*1024*1024); 
    515507        make_file_of_zeros("testfiles/zero.1", 200*1024*1024); 
    516  
    517508        // Generate a first encoded file 
    518509        { 
     
    534525                        0, 0)); 
    535526                encoded->CopyStreamTo(out); 
    536  
    537                 printf("Time taken: %d seconds\n", (int)(time(0) - beginTime)); 
    538  
    539                 #ifdef WIN32 
    540                 TEST_THAT(time(0) < (beginTime + 300)); 
    541                 #else 
    542527                TEST_THAT(time(0) < (beginTime + 40)); 
    543                 #endif 
    544528        } 
    545529        // Remove zero-files to save disk space 
Note: See TracChangeset for help on using the changeset viewer.