[Top][All Lists]
[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’.
- Re: [bug-inetutils] Tests leave inetd running, (continued)
- Re: [bug-inetutils] Tests leave inetd running, Alfred M. Szmidt, 2011/06/07
- Re: [bug-inetutils] Tests leave inetd running, Mats Erik Andersson, 2011/06/07
- Re: [bug-inetutils] Tests leave inetd running, Alfred M. Szmidt, 2011/06/07
- Re: [bug-inetutils] Tests leave inetd running, Rob Vermaas, 2011/06/09
- Re: [bug-inetutils] Tests leave inetd running, Alfred M. Szmidt, 2011/06/09
- Re: [bug-inetutils] Tests leave inetd running, Mats Erik Andersson, 2011/06/09
- Re: [bug-inetutils] Tests leave inetd running, Rob Vermaas, 2011/06/10
- Re: [bug-inetutils] Tests leave inetd running, Alfred M. Szmidt, 2011/06/10
- Re: [bug-inetutils] Tests leave inetd running, Ludovic Courtès, 2011/06/08
- Re: [bug-inetutils] Tests leave inetd running, Alfred M. Szmidt, 2011/06/08
- Re: [bug-inetutils] Tests leave inetd running,
Ludovic Courtès <=
- Re: [bug-inetutils] Tests leave inetd running, Alfred M. Szmidt, 2011/06/08