Re: openbsd5.4: spurious ls/infloop test failure: due to bug in /bin/sh

2010-01-13 Thread Eric Blake
According to Jim Meyering on 1/13/2010 2:56 AM: > > * tests/ls/infloop: OpenBSD4.5's /bin/sh would mistakenly include > "set -x"-output in an application's stderr stream when stderr is > redirected before stdout. I believe autoconf already covers this one; in the node 'File Descriptors', so the f

openbsd5.4: spurious ls/infloop test failure: due to bug in /bin/sh

2010-01-13 Thread Jim Meyering
Nelson Beebe build coreutils-8.3 on OpenBSD4.5 and reported this: FAIL: ls/infloop (exit: 1) Investigating, I found that openbsd4.5's sh has a bug that makes it malfunction like this: $ sh -c 'set -x; (echo s; echo e 1>&2) 2>err >/dev/null'; cat err + 2> err + > /dev/null + ech