[Box Backup-commit] COMMIT r1421 - box/chris/merge/test/bbackupd
boxbackup-dev at fluffy.co.uk
boxbackup-dev at fluffy.co.uk
Thu Mar 22 23:14:23 GMT 2007
Author: chris
Date: 2007-03-22 23:14:23 +0000 (Thu, 22 Mar 2007)
New Revision: 1421
Modified:
box/chris/merge/test/bbackupd/testbbackupd.cpp
Log:
Simplify wait code (refs #3)
Modified: box/chris/merge/test/bbackupd/testbbackupd.cpp
===================================================================
--- box/chris/merge/test/bbackupd/testbbackupd.cpp 2007-03-10 19:35:38 UTC (rev 1420)
+++ box/chris/merge/test/bbackupd/testbbackupd.cpp 2007-03-22 23:14:23 UTC (rev 1421)
@@ -65,15 +65,7 @@
void wait_for_backup_operation(int seconds = TIME_TO_WAIT_FOR_BACKUP_OPERATION)
{
- printf("waiting: ");
- fflush(stdout);
- for(int l = 0; l < seconds; ++l)
- {
- sleep(1);
- printf(".");
- fflush(stdout);
- }
- printf("\n");
+ wait_for_operation(seconds);
}
int bbstored_pid = 0;
More information about the Boxbackup-commit
mailing list