On Thu, Aug 16, 2001 at 04:49:16PM +0100, Andrew Josey wrote: > This is one of those cases where AFAIK the test is testing > the requirements of the specification. Now it could be that > (a) the test is making an incorrect interpretation of > the spec (b) the spec is wrong or (c) the spec is correct > and conforming systems are required to have the symlink > as tested. From the FHS: Some executable commands such as makewhatis and sendmail have also been traditionally placed in /usr/lib. makewhatis is an internal binary and should be placed in a binary directory; users access only catman. Newer sendmail binaries are now placed by default in /usr/sbin; a symbolic link should remain from /usr/lib. Additionally, systems using a sendmail-compatible mail transport agent should provide /usr/sbin/sendmail as a symbolic link to the appropriate executable. So: [ -L /usr/lib/sendmail ] || warning "/usr/lib/sendmail not a symlink" [ -x /usr/sbin/sendmail ] || error "/usr/sbin/sendmail isn't MTA or compat symlink" [ "`linkdest /usr/lib/sendmail`" = "`linkdest /usr/sbin/sendmail`" ] || error "/usr/lib/sendmail != /usr/sbin/sendmail" would seem to be the correct tests, for some value of "linkdest". It still seems a bit meaningless to have lots of test cases when there's not even a prototypical working product (ie, some .lsb packages that can be installed on some distro), though. Cheers, aj -- Anthony Towns <aj@humbug.org.au> <http://azure.humbug.org.au/~aj/> I don't speak for anyone save myself. GPG signed mail preferred. ``_Any_ increase in interface difficulty, in exchange for a benefit you do not understand, cannot perceive, or don't care about, is too much.'' -- John S. Novak, III (The Humblest Man on the Net)
Attachment:
pgpD2vQC2vQjz.pgp
Description: PGP signature