mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-30 04:34:27 +00:00
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:
parent
dc67d902eb
commit
49723a9ecf
@ -11,6 +11,7 @@
|
||||
# they are total scores for all iterations (this is the blogbench default output)
|
||||
|
||||
set -e
|
||||
set -x
|
||||
|
||||
# General env
|
||||
SCRIPT_PATH=$(dirname "$(readlink -f "$0")")
|
||||
@ -38,7 +39,7 @@ function main() {
|
||||
check_ctr_images "${IMAGE}" "${DOCKERFILE}"
|
||||
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
|
||||
metrics_json_start_array
|
||||
|
Loading…
Reference in New Issue
Block a user