On 9/8/18 4:51 AM, Christian Weisgerber wrote: > I'm not sure what the new tests/test1.sub in bash 5.0alpha is > intended to test, but it fails on OpenBSD because /dev/fd/* are > actual character devices there, so test -p /dev/fd/6 will always > be unsuccessful.
Interesting. OpenBSD appears to be somewhat of an outlier here. Since file descriptor 6 is open for writing to a FIFO, one would expect that a stat on /dev/fd/6 would return information about the open file descriptor instead of useless information about the special device itself. I guess we'll have to define DEV_FD_STAT_BROKEN for OpenBSD. You can do it yourself with --enable-dev-fd-stat-broken. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRU c...@case.edu http://tiswww.cwru.edu/~chet/