Re: [Xen-devel] [OSSTEST PATCH] TestSupport: use timeout(1)

2014-12-08 Thread Ian Campbell
On Mon, 2014-12-08 at 14:08 +, Ian Jackson wrote: > If a command we run times out, the machinery in tcmdex() will arrange > for the ts-* script to spot the timeout, and stop waiting for it. > > However it is also necessary for the command we ran to die. It has a > copy of the owner daemon fd,

[Xen-devel] [OSSTEST PATCH] TestSupport: use timeout(1)

2014-12-08 Thread Ian Jackson
If a command we run times out, the machinery in tcmdex() will arrange for the ts-* script to spot the timeout, and stop waiting for it. However it is also necessary for the command we ran to die. It has a copy of the owner daemon fd, so if it doesn't, our resources won't get freed. In sufficient