From: Wouter Wijngaards Date: Wed, 10 Mar 2010 13:01:52 +0000 (+0000) Subject: more userfriendly make test X-Git-Tag: release-1.4.3~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c12752d6fc3246240667147b3c8231d214750399;p=thirdparty%2Funbound.git more userfriendly make test git-svn-id: file:///svn/unbound/trunk@2021 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/testcode/do-tests.sh b/testcode/do-tests.sh index 3fa79f70a..2cfd8ea0c 100755 --- a/testcode/do-tests.sh +++ b/testcode/do-tests.sh @@ -10,6 +10,11 @@ NEED_WHOAMI='07-confroot.tpkg' NEED_IPV6='fwd_ancil.tpkg fwd_tcp_tc6.tpkg stub_udp6.tpkg' NEED_NOMINGW='tcp_sigpipe.tpkg 07-confroot.tpkg 08-host-lib.tpkg fwd_ancil.tpkg' +# test if dig, wdiff and ldns-testns are available. +if test ! -x "`which dig 2>&1`"; then echo No 'dig' in path; exit 1; fi +if test ! -x "`which wdiff 2>&1`"; then echo No 'wdiff' in path; exit 1; fi +if test ! -x "`which ldns-testns 2>&1`"; then echo No 'ldns-testns' in path; exit 1; fi + # test for ipv6, uses streamptcp peculiarity. if ./streamtcp -f ::1 2>&1 | grep "not supported" >/dev/null 2>&1; then HAVE_IPV6=no