Files
ftmemsim-valgrind/none/tests/res_search.vgtest
Mark Wielaard 11e3a4824d Explicitly test command -v host output before trying host command.
We have to explicitly test command -v host worked otherwise on systems
that do not have 'host' installed will return error code 127 and stop
testing. This is because vg_regtest uses '/bin/sh -c' to execute the
prereq command. Found by Petar Jovanovic.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15781
2016-02-04 22:38:06 +00:00

5 lines
146 B
Plaintext

prereq: test $(command -v host) && host www.yahoo.com > /dev/null && ! ../../tests/os_test darwin
prog: res_search
args: www.yahoo.com
vgopts: -q