Am 15.11.2013 18:12, schrieb David Sommerseth:
> From: David Sommerseth <dav...@redhat.com>
> 
> Check if fping and fping6 is available before running the real tests,
> to avoid misleading test failures.
> 
> Signed-off-by: David Sommerseth <dav...@redhat.com>
> ---
>  tests/t_client.sh.in | 12 ++++++++++++
>  1 file changed, 12 insertions(+)
> 
> diff --git a/tests/t_client.sh.in b/tests/t_client.sh.in
> index 189eecc..69278ee 100755
> --- a/tests/t_client.sh.in
> +++ b/tests/t_client.sh.in
> @@ -24,6 +24,18 @@ else
>      exit 77
>  fi
>  
> +# Check for external dependencies
> +which fping > /dev/null
...

NAK.
which is not a POSIX command,
so you may introduce false skips here.


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to