From: Schanzenbach, Martin Date: Sat, 16 Feb 2019 21:15:05 +0000 (+0100) Subject: skip if timeout not installed X-Git-Tag: v0.11.0~63^2~42^2 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e16d72da26908b79f93c200f96dc621a1cfef48d;p=oweals%2Fgnunet.git skip if timeout not installed --- diff --git a/src/gns/test_gns_rel_expiration.sh b/src/gns/test_gns_rel_expiration.sh index 66adbb631..c7c66bc27 100755 --- a/src/gns/test_gns_rel_expiration.sh +++ b/src/gns/test_gns_rel_expiration.sh @@ -7,6 +7,13 @@ if [ -z $LOCATION ] then LOCATION="gnunet-config" fi + +if [ -z $(which timeout) ] +then + echo "timeout utility not found which is required for test." + exit 77 +fi + $LOCATION --version 1> /dev/null if test $? != 0 then