Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #14562 > unrolled thread

Re: 5.0alpha: tests/test1.sub is unportable

Started byChet Ramey <chet.ramey@case.edu>
First post2018-09-08 22:54 -0400
Last post2018-09-08 22:54 -0400
Articles 1 — 1 participant

Back to article view | Back to gnu.bash.bug

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: 5.0alpha: tests/test1.sub is unportable Chet Ramey <chet.ramey@case.edu> - 2018-09-08 22:54 -0400

#14562 — Re: 5.0alpha: tests/test1.sub is unportable

FromChet Ramey <chet.ramey@case.edu>
Date2018-09-08 22:54 -0400
SubjectRe: 5.0alpha: tests/test1.sub is unportable
Message-ID<mailman.534.1536461689.1284.bug-bash@gnu.org>
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    chet@case.edu    http://tiswww.cwru.edu/~chet/

[toc] | [standalone]


Back to top | Article view | gnu.bash.bug


csiph-web