Good job diagnosing it, Thorkil!

I want to clarify one detail:

>> import os
>> os.system('yes | head -n 2');

> So, the two ys appear, a looping yes program can be observed with  
> top, and C-c
> is needed to terminate. The point of this is that buildbot, as far  
> as I know,
> is a Python program, so this may be the reason why we see this looping
> behaviour on the Mac OS X buildbot slaves.

Just to clarify -- the buildbot is a Python program which runs  
"make".  The equivalent Python code would look something like this:

import os
os.system("make test")

So more or less the only way that the buildbot code can affect the  
behavior of the yes process which is spawned by the test harness  
process which is spawned by the make process which is spawned by the  
buildslave process is through stdin.

So I guess something about the state of stdin (open/closed?  blocking/ 
nonblocking setting?  is a pty?) causes yes to behave this way.

Regards,

Zooko
_______________________________________________
darcs-users mailing list
darcs-users@darcs.net
http://lists.osuosl.org/mailman/listinfo/darcs-users

Reply via email to