ATF-log archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

#53: atf-run hangs if child of test program gets stuck



#53: atf-run hangs if child of test program gets stuck
---------------------+------------------------------------------------------
 Reporter:  jmmv     |       Owner:  jmmv
     Type:  defect   |      Status:  new 
 Priority:  major    |   Milestone:  0.11
Component:  atf-run  |     Version:      
 Keywords:           |  
---------------------+------------------------------------------------------
 Per Antti Kantee's report, the following test case hangs atf-run:

 ATF_TC_BODY(forkexit, tc)
 {

        switch (fork()) {
        case 0:
                pause();
                break;
        case -1:
                atf_tc_fail("fork");
                break;
        default:
                break;
        }
 }

 Fix it!

-- 
Ticket URL: <http://www.julipedia.org/projects/atf/trac/ticket/53>
Automated Testing Framework <http://www.NetBSD.org/~jmmv/atf/>
Automated Testing Framework


Home | Main Index | Thread Index | Old Index