Changeset 1004
- Timestamp:
- 12/10/2006 23:22:39 (5 years ago)
- File:
-
- 1 edited
-
box/trunk/test/backupdiff/testbackupdiff.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
box/trunk/test/backupdiff/testbackupdiff.cpp
r1003 r1004 370 370 // Want to trace out all the details 371 371 #ifndef NDEBUG 372 #ifndef WIN32373 372 BackupStoreFile::TraceDetailsOfDiffProcess = true; 374 #endif375 373 #endif 376 374 … … 506 504 // found. Check this out! 507 505 508 #ifdef WIN32509 ::fprintf(stdout, "Testing diffing two large streams, "510 "may take a while!\n");511 ::fflush(stdout);512 #endif513 514 506 make_file_of_zeros("testfiles/zero.0", 20*1024*1024); 515 507 make_file_of_zeros("testfiles/zero.1", 200*1024*1024); 516 517 508 // Generate a first encoded file 518 509 { … … 534 525 0, 0)); 535 526 encoded->CopyStreamTo(out); 536 537 printf("Time taken: %d seconds\n", (int)(time(0) - beginTime));538 539 #ifdef WIN32540 TEST_THAT(time(0) < (beginTime + 300));541 #else542 527 TEST_THAT(time(0) < (beginTime + 40)); 543 #endif544 528 } 545 529 // Remove zero-files to save disk space
Note: See TracChangeset
for help on using the changeset viewer.
