[Box Backup-dev] COMMIT r612 - box/chris/general/test/backupstorefix
boxbackup-dev@fluffy.co.uk
boxbackup-dev@fluffy.co.uk
Mon, 5 Jun 2006 13:02:40 +0000 (GMT)
Author: chris
Date: 2006-06-05 13:02:36 +0000 (Mon, 05 Jun 2006)
New Revision: 612
Modified:
box/chris/general/test/backupstorefix/testbackupstorefix.cpp
Log:
* testbackupstorefix.cpp
- Moved the useful wait_for_operation function to Test.h
Modified: box/chris/general/test/backupstorefix/testbackupstorefix.cpp
===================================================================
--- box/chris/general/test/backupstorefix/testbackupstorefix.cpp 2006-06-05 13:01:57 UTC (rev 611)
+++ box/chris/general/test/backupstorefix/testbackupstorefix.cpp 2006-06-05 13:02:36 UTC (rev 612)
@@ -74,20 +74,6 @@
::system("../../bin/bbstoreaccounts/bbstoreaccounts -c testfiles/bbstored.conf check 01234567 fix");
#endif
-// Wait a given number of seconds for something to complete
-void wait_for_operation(int seconds)
-{
- printf("waiting: ");
- fflush(stdout);
- for(int l = 0; l < seconds; ++l)
- {
- sleep(1);
- printf(".");
- fflush(stdout);
- }
- printf("\n");
-}
-
// Get ID of an object given a filename
int32_t getID(const char *name)
{