Changeset 2000 for box/trunk/test
- Timestamp:
- 15/12/2007 17:04:24 (4 years ago)
- File:
-
- 1 edited
-
box/trunk/test/bbackupd/testbbackupd.cpp (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
box/trunk/test/bbackupd/testbbackupd.cpp
r1994 r2000 702 702 } 703 703 704 voidstop_internal_daemon(int pid)704 bool stop_internal_daemon(int pid) 705 705 { 706 TEST_THAT(KillServer(pid)); 706 bool killed_server = KillServer(pid); 707 TEST_THAT(killed_server); 708 return killed_server; 707 709 708 710 /* … … 845 847 int pid = start_internal_daemon(); 846 848 wait_for_backup_operation(); 847 stop_internal_daemon(pid);849 TEST_THAT(stop_internal_daemon(pid)); 848 850 849 851 // two-second delay on the first read() of f1 … … 866 868 // it's in a different process. 867 869 // TEST_THAT(intercept_triggered()); 868 stop_internal_daemon(pid);870 TEST_THAT(stop_internal_daemon(pid)); 869 871 870 872 // check that keepalive was written to logs, and … … 936 938 // it's in a different process. 937 939 // TEST_THAT(intercept_triggered()); 938 stop_internal_daemon(pid);940 TEST_THAT(stop_internal_daemon(pid)); 939 941 940 942 // check that the diff was aborted, i.e. upload was not a diff … … 996 998 // it's in a different process. 997 999 // TEST_THAT(intercept_triggered()); 998 stop_internal_daemon(pid);1000 TEST_THAT(stop_internal_daemon(pid)); 999 1001 1000 1002 // check that the diff was aborted, i.e. upload was not a diff … … 1080 1082 // it's in a different process. 1081 1083 // TEST_THAT(intercept_triggered()); 1082 stop_internal_daemon(pid);1084 TEST_THAT(stop_internal_daemon(pid)); 1083 1085 1084 1086 // check that keepalives were sent during the dir search
Note: See TracChangeset
for help on using the changeset viewer.
