From 8fee0bb13f6a39b00ea6eb8e848c3fdf36c2681c Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Tue, 14 Nov 2017 08:24:13 -0500 Subject: [PATCH] Fix Valgrind detection in cryptest.sh --- cryptest.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cryptest.sh b/cryptest.sh index a0531939..1d0da146 100755 --- a/cryptest.sh +++ b/cryptest.sh @@ -655,7 +655,7 @@ fi # Valgrind testing of C++03, C++11, C++14 and C++17 binaries. Valgrind tests take a long time... if [[ (-z "$HAVE_VALGRIND") ]]; then - if [[ $(command -v CC 2>/dev/null) ]]; then + if [[ $(command -v valgrind 2>/dev/null) ]]; then HAVE_VALGRIND=1 fi fi