Changeset 1918 for box/trunk/test/backupstorefix/testbackupstorefix.cpp
- Timestamp:
- 04/11/2007 15:20:09 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
box/trunk/test/backupstorefix/testbackupstorefix.cpp
r1909 r1918 311 311 " testfiles/testbackupstorefix.pl init") == 0); 312 312 313 int bbackupd_pid = LaunchServer(BBACKUPD 314 " testfiles/bbackupd.conf", "testfiles/bbackupd.pid"); 313 std::string cmd = BBACKUPD + bbackupd_args + 314 " testfiles/bbackupd.conf"; 315 int bbackupd_pid = LaunchServer(cmd, "testfiles/bbackupd.pid"); 315 316 TEST_THAT(bbackupd_pid != -1 && bbackupd_pid != 0); 316 317 … … 319 320 ::safe_sleep(1); 320 321 TEST_THAT(ServerIsAlive(bbackupd_pid)); 322 323 // Wait 4 more seconds for the files to be old enough 324 // to upload 325 ::safe_sleep(4); 321 326 322 // Create a nice store directory327 // Upload files to create a nice store directory 323 328 ::sync_and_wait(); 324 329 325 // That'll do nicely, stop the server330 // Stop bbackupd 326 331 #ifdef WIN32 327 332 terminate_bbackupd(bbackupd_pid);
Note: See TracChangeset
for help on using the changeset viewer.
