From 6375fdd9cc4272b2f2289c78781811aaa274b0a6 Mon Sep 17 00:00:00 2001 From: Philippe Waroquiers Date: Fri, 29 Aug 2014 22:49:21 +0000 Subject: [PATCH] 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 --- none/tests/res_search.vgtest | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.2