Changeset 2000 for box/trunk/test


Ignore:
Timestamp:
15/12/2007 17:04:24 (4 years ago)
Author:
chris
Message:

Report line of test where failed to kill internal daemon during SSL
keepalive tests.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • box/trunk/test/bbackupd/testbbackupd.cpp

    r1994 r2000  
    702702} 
    703703 
    704 void stop_internal_daemon(int pid) 
     704bool stop_internal_daemon(int pid) 
    705705{ 
    706         TEST_THAT(KillServer(pid)); 
     706        bool killed_server = KillServer(pid); 
     707        TEST_THAT(killed_server); 
     708        return killed_server; 
    707709 
    708710        /* 
     
    845847                int pid = start_internal_daemon(); 
    846848                wait_for_backup_operation(); 
    847                 stop_internal_daemon(pid); 
     849                TEST_THAT(stop_internal_daemon(pid)); 
    848850 
    849851                // two-second delay on the first read() of f1 
     
    866868                // it's in a different process. 
    867869                // TEST_THAT(intercept_triggered()); 
    868                 stop_internal_daemon(pid); 
     870                TEST_THAT(stop_internal_daemon(pid)); 
    869871 
    870872                // check that keepalive was written to logs, and 
     
    936938                // it's in a different process. 
    937939                // TEST_THAT(intercept_triggered()); 
    938                 stop_internal_daemon(pid); 
     940                TEST_THAT(stop_internal_daemon(pid)); 
    939941 
    940942                // check that the diff was aborted, i.e. upload was not a diff 
     
    996998                // it's in a different process. 
    997999                // TEST_THAT(intercept_triggered()); 
    998                 stop_internal_daemon(pid); 
     1000                TEST_THAT(stop_internal_daemon(pid)); 
    9991001 
    10001002                // check that the diff was aborted, i.e. upload was not a diff 
     
    10801082                // it's in a different process. 
    10811083                // TEST_THAT(intercept_triggered()); 
    1082                 stop_internal_daemon(pid); 
     1084                TEST_THAT(stop_internal_daemon(pid)); 
    10831085 
    10841086                // check that keepalives were sent during the dir search 
Note: See TracChangeset for help on using the changeset viewer.