ATF-log archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: #53: atf-run hangs if child of test program gets stuck
- Subject: Re: #53: atf-run hangs if child of test program gets stuck
- From: "atf trac notification" <nobody%julipedia.org@localhost>
- Date: Wed, 07 Jul 2010 08:17:02 -0000
#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:
Resolution: | Keywords:
----------------------+-----------------------------------------------------
Description changed by jmmv:
Old description:
> 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!
New description:
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#comment:1>
Automated Testing Framework <http://www.NetBSD.org/~jmmv/atf/>
Automated Testing Framework
Home |
Main Index |
Thread Index |
Old Index