From 9a673da0a17350007d97411aef502c060b06322f Mon Sep 17 00:00:00 2001 From: Sean McBride Date: Fri, 30 Apr 2021 18:46:57 -0400 Subject: [PATCH] chore: make command check silent --- runtime/experiments/bimodal/install.sh | 2 +- runtime/experiments/bimodal/run.sh | 2 +- runtime/experiments/concurrency/install.sh | 2 +- runtime/experiments/concurrency/run.sh | 2 +- runtime/experiments/payload/install.sh | 2 +- runtime/experiments/payload/run.sh | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/runtime/experiments/bimodal/install.sh b/runtime/experiments/bimodal/install.sh index d5ec913..0cbcfe8 100755 --- a/runtime/experiments/bimodal/install.sh +++ b/runtime/experiments/bimodal/install.sh @@ -1,6 +1,6 @@ #!/bin/bash -if ! command -v hey; then +if ! command -v hey > /dev/null; then HEY_URL=https://hey-release.s3.us-east-2.amazonaws.com/hey_linux_amd64 wget $HEY_URL -O hey chmod +x hey diff --git a/runtime/experiments/bimodal/run.sh b/runtime/experiments/bimodal/run.sh index a046470..ce7b072 100755 --- a/runtime/experiments/bimodal/run.sh +++ b/runtime/experiments/bimodal/run.sh @@ -19,7 +19,7 @@ source get_result_count.sh || exit 1 source panic.sh || exit 1 source path_join.sh || exit 1 -if ! command -v hey; then +if ! command -v hey > /dev/null; then echo "hey is not present." exit 1 fi diff --git a/runtime/experiments/concurrency/install.sh b/runtime/experiments/concurrency/install.sh index d5ec913..0cbcfe8 100755 --- a/runtime/experiments/concurrency/install.sh +++ b/runtime/experiments/concurrency/install.sh @@ -1,6 +1,6 @@ #!/bin/bash -if ! command -v hey; then +if ! command -v hey > /dev/null; then HEY_URL=https://hey-release.s3.us-east-2.amazonaws.com/hey_linux_amd64 wget $HEY_URL -O hey chmod +x hey diff --git a/runtime/experiments/concurrency/run.sh b/runtime/experiments/concurrency/run.sh index 1f6b4ae..b745a70 100755 --- a/runtime/experiments/concurrency/run.sh +++ b/runtime/experiments/concurrency/run.sh @@ -15,7 +15,7 @@ source get_result_count.sh || exit 1 source panic.sh || exit 1 source path_join.sh || exit 1 -if ! command -v hey; then +if ! command -v hey > /dev/null; then echo "hey is not present." exit 1 fi diff --git a/runtime/experiments/payload/install.sh b/runtime/experiments/payload/install.sh index d5ec913..0cbcfe8 100755 --- a/runtime/experiments/payload/install.sh +++ b/runtime/experiments/payload/install.sh @@ -1,6 +1,6 @@ #!/bin/bash -if ! command -v hey; then +if ! command -v hey > /dev/null; then HEY_URL=https://hey-release.s3.us-east-2.amazonaws.com/hey_linux_amd64 wget $HEY_URL -O hey chmod +x hey diff --git a/runtime/experiments/payload/run.sh b/runtime/experiments/payload/run.sh index a389976..c4b31be 100755 --- a/runtime/experiments/payload/run.sh +++ b/runtime/experiments/payload/run.sh @@ -16,7 +16,7 @@ source "framework.sh" || exit 1 source "get_result_count.sh" || exit 1 source "generate_gnuplots.sh" || exit 1 -if ! command -v hey; then +if ! command -v hey > /dev/null; then echo "hey is not present." exit 1 fi