Changeset 2499 for box/trunk/test
- Timestamp:
- 10/04/2009 00:06:42 (3 years ago)
- File:
-
- 1 edited
-
box/trunk/test/bbackupd/testbbackupd.cpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
box/trunk/test/bbackupd/testbbackupd.cpp
r2496 r2499 1756 1756 } 1757 1757 1758 test_run_bbstored();1758 TEST_THAT(test_run_bbstored() == 0); 1759 1759 1760 1760 cmd = BBACKUPD " " + bbackupd_args + … … 2542 2542 } 2543 2543 2544 // wait for backup daemon to do it's stuff, and compare again 2545 wait_for_backup_operation("bbackupd to sync the changes"); 2546 2544 // wait long enough for new files to be old enough to backup 2545 wait_for_operation(5, "new files to be old enough"); 2546 2547 // wait for backup daemon to do it's stuff 2548 sync_and_wait(); 2549 2550 // compare to make sure that it worked 2547 2551 compareReturnValue = ::system(BBACKUPQUERY " -Wwarning " 2548 2552 "-c testfiles/bbackupd.conf " … … 2995 2999 TEST_THAT(TestFileExists("testfiles/TestDir1/tracked-2")); 2996 3000 3001 // wait for them to be old enough to back up 3002 wait_for_operation(5, "tracked files to be old enough"); 3003 2997 3004 // back up both files 2998 wait_for_operation(5, "tracked files to be old enough");2999 wait_for_backup_operation("bbackupd to sync the tracked files"); 3000 3005 sync_and_wait(); 3006 3007 // compare to make sure that it worked 3001 3008 compareReturnValue = ::system(BBACKUPQUERY " " 3002 3009 "-c testfiles/bbackupd.conf " … … 4040 4047 4041 4048 r = test_run_bbstored(); 4049 TEST_THAT(r == 0); 4042 4050 if(r != 0) return r; 4043 4051
Note: See TracChangeset
for help on using the changeset viewer.
