posix me harder
Andy Thomas
ajt at icd.cc.purdue.edu
Thu Mar 14 08:27:02 GMT 2002
It is broken in Solaris 8 also:
## /bin/sh
# uname -rsv
SunOS 5.8 Generic_108528-13
# ls -l bad
lrwxrwxrwx 1 root root 8 Mar 14 11:06 bad -> /nowhere
# if test -L bad; then echo bad; fi
test: argument expected
Andrew Thomas
Instructional Computing Services - Purdue University
> Fixed, in Solaris 8, but broken in
> at least 2.6 and possibly 7.
>
> elsbeth> ln -s /nowhere bad
> you have mail in /var/mail/davecb
> elsbeth> ls -l bad
> lrwxrwxrwx 1 davecb staff 8 Mar 14 2002 bad -> /nowhere
> elsbeth> if test -L bad; then echo bad; fi
> bad
> elsbeth> if test -h bad; then echo bad; fi
> bad
More information about the samba-technical
mailing list