From: Nils Carlson Date: Mon, 21 Feb 2011 09:17:26 +0000 (+0100) Subject: fix valgrind test valgrind check X-Git-Tag: v0.12~41 X-Git-Url: https://git.lttng.org/?p=ust.git;a=commitdiff_plain;h=c05dca017f14ac713d5c0fc6e3c015dd16c603f0 fix valgrind test valgrind check Signed-off-by: Nils Carlson --- diff --git a/tests/valgrind_ust-consumerd.sh b/tests/valgrind_ust-consumerd.sh index d89a1f2..1b10772 100755 --- a/tests/valgrind_ust-consumerd.sh +++ b/tests/valgrind_ust-consumerd.sh @@ -17,7 +17,7 @@ # You should have received a copy of the GNU General Public License # along with LTTng-UST. If not, see . -if [ -n "$(which valgrind)" ]; then +if ! which valgrind > /dev/null; then echo "$0: Valgrind not found on the system." >/dev/stderr exit 1; fi