tap-driver fails using file descriptor 3
@pwelche
Submitted by Patrick Welche Link to original bug (#762779)
Description
With today's git-head, I just tried a
gmake check
and:
sh: 3: Bad file descriptor gawk: cmd. line:404: (FILENAME=- FNR=10) fatal: print to "cat >&3" failed (Broken pipe) tap-driver.sh: fatal: I/O or internal error
Just in case it was my shell, I repeated this with bash 4.3, as I think you all use bash, and see the same issue.
FWIW gawk is GNU Awk 4.1.3 given the comment
FIXME: the usages of "cat >&3" below could be optimized when using
FIXME: GNU awk, and/on on systems that supports /dev/fd/.
TODO: document that we consume the file descriptor 3 :-(
Any thoughts on what to try?
Version: 2.47.x