On Fri, Feb 20, 2015 at 09:08:30AM -0500, Chet Ramey wrote:
On 2/20/15 6:56 AM, Scott wrote:
Hi,

When we run the bash unittests on some system we occasionally get a error
in the varenv3.sub script.

./varenv3.sub: cannot open named pipe /tmp/bash_tests.8150/sh-np-5140328
for writing: No such file or directory
./varenv3.sub: line 30: /tmp/bash_tests.8150/sh-np-843885584: No such file
or directory

Does the directory (which I assume is $TMPDIR) exist?

Yeah, directory exists which is why it works some of the time. I can reproduce the error with

chmod u+x varenv3.sub; while ./varenv3.sub ; do sleep 0.1; done

with default TMPDIR.

HTH.

Scott.


--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    c...@case.edu    http://cnswww.cns.cwru.edu/~chet/


Reply via email to