|
From: <sv...@va...> - 2014-08-29 22:49:27
|
Author: philippe
Date: Fri Aug 29 22:49:21 2014
New Revision: 14391
Log:
make prereq fail with 1 if host command not installed
as prereq must return 0 or 1. Any other return value aborts the regtests.
Modified:
trunk/none/tests/res_search.vgtest
Modified: trunk/none/tests/res_search.vgtest
==============================================================================
--- trunk/none/tests/res_search.vgtest (original)
+++ trunk/none/tests/res_search.vgtest Fri Aug 29 22:49:21 2014
@@ -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
|