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: Ludovic Courtès
Subject: Re: [bug-inetutils] Tests leave inetd running
Date: Wed, 08 Jun 2011 22:19:49 +0200
User-agent: Gnus/5.110017 (No Gnus v0.17) Emacs/24.0.50 (gnu/linux)

Hi Alfred,

address@hidden (Alfred M. Szmidt) skribis:

> How about this patch instead, this doesn't fix Rob's timeouts but it
> does make the test suite more robust on systems that do not have
> netstat installed.
>
> diff --git a/tests/tftp.sh b/tests/tftp.sh
> index fec5171..964c096 100755
> --- a/tests/tftp.sh
> +++ b/tests/tftp.sh

[...]

> +# 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)

Thanks,
Ludo’.



reply via email to

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