metrics: Add double quotes to variables

This PR adds double quotes to variables in the blogbench script to
have uniformity across all the tests.

Signed-off-by: Gabriela Cervantes <gabriela.cervantes.tellez@intel.com>
This commit is contained in:
Gabriela Cervantes 2023-07-10 16:38:10 +00:00
parent dc67d902eb
commit 49723a9ecf

View File

@ -11,6 +11,7 @@
# they are total scores for all iterations (this is the blogbench default output) # they are total scores for all iterations (this is the blogbench default output)
set -e set -e
set -x
# General env # General env
SCRIPT_PATH=$(dirname "$(readlink -f "$0")") SCRIPT_PATH=$(dirname "$(readlink -f "$0")")
@ -38,7 +39,7 @@ function main() {
check_ctr_images "${IMAGE}" "${DOCKERFILE}" check_ctr_images "${IMAGE}" "${DOCKERFILE}"
metrics_json_init metrics_json_init
local output=$(sudo -E ${CTR_EXE} run --rm --runtime=${CTR_RUNTIME} ${IMAGE} test ${CMD}) local output=$(sudo -E "${CTR_EXE}" run --rm --runtime="${CTR_RUNTIME}" "${IMAGE}" test "${CMD}")
# Save configuration # Save configuration
metrics_json_start_array metrics_json_start_array