[gnu.bash.bug] Bug in test

hugo@GRIGGS.DARTMOUTH.EDU (Peter Su) (06/29/89)

The bash "test -w" builtin seems to be broken.  It returns false no
matter what I give it. 

For example

if test -w ~
then
  echo foo
else
  echo bar
fi

says "bar", which is wrong.



Pete