[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: autotest: problem testing daemons, with possible fix
From: |
Paul Eggert |
Subject: |
Re: autotest: problem testing daemons, with possible fix |
Date: |
Sat, 27 Nov 2010 15:19:00 -0800 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6 |
On 11/27/2010 01:28 AM, Ralf Wildenhues wrote:
> Is it possible to devise an easy test case in
> shell?
It depends on one's definition of "easy". One complication
is that some shells close fd 5 automatically; for these
shells there was no bug and the fix is a no-op. Another
complication is that there's no portable way in the shell
to detect whether fd 5 is open. Modulo portability problems
like this, it should be possible to test for regression in
the future, at least on Linux-like hosts.