On 10/27/10 07:31, Christian Weisgerber wrote: > This produces "too many files open in shell" right away: > > ulimit -n 10; : <&-
Ah, OK. Does the following output "buggy shell", then? if (ulimit -n 10; : <&-) 2>/dev/null then echo OK else echo Houston we have a problem fi It would be helpful if this could be tried on FreeBSD as well; that way, we wouldn't have to do this test as well as the more-complicated test. I don't see how this behavior can be defended as "not a bug", but we don't have to resolve that issue right now; all we have to do is to fix the tests so that they don't incorrectly report a bug in tar when this (ahem) "situation" arises with the shell.