bug-inetutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-inetutils] Tests leave inetd running


From: Alfred M. Szmidt
Subject: Re: [bug-inetutils] Tests leave inetd running
Date: Wed, 08 Jun 2011 17:20:14 -0400

   > +# Check existance of netstat before proceeding.
   > +netstat > /dev/null
   > +if [ ! $? -eq 0 ]; then
   > +    echo "netstat is required"
   > +    exit 77
   > +fi

   Sounds good to me, though it doesn’t allow you to distinguish
   between “not found” and some other netstat failure (unlike
   AC_PATH_PROG([NETSTAT], [netstat]) + @address@hidden)

If netstat fails, for whatever reason, then you're SOL anyway.  This
makes it easy to test with different version, just frob PATH.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]