Re: [coreutils] test: fix a dash portability problem with redirected symlinked ttys

2010-11-09 Thread Jim Meyering
Pádraig Brady wrote: > Another bug I noticed with dash-0.5.6-2.fc11.i586 > is that it doesn't redirect from symlinks correctly > for background processes. > > $ dash -c "tty < /dev/stdin&" > $ dash -c "tty < /dev/stdin" > /dev/pts/3 > $ bash -c "tty < /dev/stdin&" > /dev/pts/3 > $ dash -c "tty < $(

[coreutils] test: fix a dash portability problem with redirected symlinked ttys

2010-11-09 Thread Pádraig Brady
Another bug I noticed with dash-0.5.6-2.fc11.i586 is that it doesn't redirect from symlinks correctly for background processes. $ dash -c "tty < /dev/stdin&" $ dash -c "tty < /dev/stdin" /dev/pts/3 $ bash -c "tty < /dev/stdin&" /dev/pts/3 $ dash -c "tty < $(readlink -f /dev/stdin)&" /dev/pts/3 OK