Changeset 2291 for box/trunk/test
- Timestamp:
- 26/09/2008 21:18:13 (4 years ago)
- File:
-
- 1 edited
-
box/trunk/test/bbackupd/testbbackupd.cpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
box/trunk/test/bbackupd/testbbackupd.cpp
r2276 r2291 706 706 707 707 // ensure that no child processes end up running tests! 708 TEST_EQUAL(own_pid, getpid(), "Forking test problem");709 708 if (getpid() != own_pid) 710 709 { 711 710 // abort! 712 _exit(1); 711 BOX_INFO("Daemon child finished, exiting now."); 712 _exit(0); 713 713 } 714 714 … … 744 744 bool stop_internal_daemon(int pid) 745 745 { 746 bool killed_server = KillServer(pid, true);746 bool killed_server = KillServer(pid, false); 747 747 TEST_THAT(killed_server); 748 748 return killed_server; … … 893 893 "| ( cd testfiles/TestDir1 && tar xf - )") == 0); 894 894 #endif 895 896 #if 1 897 // #ifdef PLATFORM_CLIB_FNS_INTERCEPTION_IMPOSSIBLE 895 896 #ifdef PLATFORM_CLIB_FNS_INTERCEPTION_IMPOSSIBLE 898 897 printf("\n==== Skipping intercept-based KeepAlive tests " 899 898 "on this platform.\n"); … … 2549 2548 > 1024); 2550 2549 } 2551 2550 2552 2551 // wait for backup daemon to do it's stuff, and compare again 2553 2552 wait_for_backup_operation();
Note: See TracChangeset
for help on using the changeset viewer.
