From 33b2bde7399cd85bf12a68220c13ce884c46e262 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Tue, 2 Apr 2019 23:11:40 +0200 Subject: [PATCH] Update benchmark.sh --- functions/benchmark.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions/benchmark.sh b/functions/benchmark.sh index 4d68262..96d727c 100644 --- a/functions/benchmark.sh +++ b/functions/benchmark.sh @@ -6,7 +6,7 @@ connections=(2 5 10 20 21 50 100 200 400 500 1000) kuberhost="node1:32764" WRK_INSTALLED=$(which wrk) -if [[ "$WRK_INSTALLED" -eq "" ]] +if [ "$WRK_INSTALLED" = "" ] then sudo apt-get install build-essential libssl-dev git -y git clone https://github.com/wg/wrk.git wrk @@ -16,7 +16,7 @@ then fi HEY_INSTALLED=$(which hey) -if [[ "$HEY_INSTALLED" -eq "" ]] +if [ "$HEY_INSTALLED" = "" ] then apt update apt install -y golang