From mboxrd@z Thu Jan 1 00:00:00 1970 From: nils.carlson@ericsson.com (Nils Carlson) Date: Mon, 21 Feb 2011 10:19:22 +0100 Subject: [ltt-dev] [UST PATCH] fix valgrind test valgrind check Message-ID: <1298279962-21893-1-git-send-email-nils.carlson@ericsson.com> Signed-off-by: Nils Carlson --- tests/valgrind_ust-consumerd.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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 -- 1.7.1