From 492c130ff9d7c0962a39ecf0a1d9a606f921bb8d Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Thu, 16 Jun 2016 09:14:52 -0400 Subject: [PATCH] Fix ld.gold and valgrind detection --- cryptest.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cryptest.sh b/cryptest.sh index 8f62d39f..781e9756 100755 --- a/cryptest.sh +++ b/cryptest.sh @@ -252,10 +252,10 @@ if [ "$IS_X86" -ne "0" ] || [ "$IS_X64" -ne "0" ]; then fi # LD-Gold linker testing -HAVE_LDGOLD=$(file `which ld.gold` 2>&1 | $GREP -v "^no ld.gold" | cut -d":" -f 2 | $EGREP -i -c "elf") +HAVE_LDGOLD=$(file `which ld.gold` 2>&1 | $GREP -v "no ld.gold" | cut -d":" -f 2 | $EGREP -i -c "elf") # Set to 0 if you don't have Valgrind. Valgrind tests take a long time... -HAVE_VALGRIND=$(which valgrind 2>&1 | $GREP -v "^no valgrind" | $GREP -i -c valgrind) +HAVE_VALGRIND=$(which valgrind 2>&1 | $GREP -v "no valgrind" | $GREP -i -c valgrind) # Echo back to ensure something is not missed. echo | tee -a "$TEST_RESULTS"