From: Philippe Waroquiers Date: Fri, 29 Aug 2014 22:49:21 +0000 (+0000) Subject: make prereq fail with 1 if host command not installed X-Git-Tag: svn/VALGRIND_3_10_0~115 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6375fdd9cc4272b2f2289c78781811aaa274b0a6;p=thirdparty%2Fvalgrind.git make prereq fail with 1 if host command not installed as prereq must return 0 or 1. Any other return value aborts the regtests. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14391 --- diff --git a/none/tests/res_search.vgtest b/none/tests/res_search.vgtest index 2253830ae1..745a5ff4cc 100644 --- a/none/tests/res_search.vgtest +++ b/none/tests/res_search.vgtest @@ -1,4 +1,4 @@ -prereq: host www.yahoo.com > /dev/null +prereq: which host >/dev/null 2>/dev/null && host www.yahoo.com > /dev/null prog: res_search args: www.yahoo.com vgopts: -q