summaryrefslogtreecommitdiff
path: root/automated/linux/openssl/openssl-speed.sh
diff options
context:
space:
mode:
authorDaniel Díaz <daniel.diaz@linaro.org>2017-02-17 11:24:00 -0600
committerDaniel Díaz <daniel.diaz@linaro.org>2017-02-17 12:06:44 -0600
commited2f1e26103f0d07c7ba815aea8eb1784ca5d458 (patch)
tree451200bdc74a708153bbac09a0c83c70a181bc4a /automated/linux/openssl/openssl-speed.sh
parentfb5d9f84daecc4a43d1939d52ac22e0123fa1d85 (diff)
downloadtest-definitions-pipe-ed2f1e26103f0d07c7ba815aea8eb1784ca5d458.tar.gz
cleanup: fix a few shellcheck errors in automated/
Change-Id: If34415c681906aefc6b5b42401ed995e5cdeda11 Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Diffstat (limited to 'automated/linux/openssl/openssl-speed.sh')
-rwxr-xr-xautomated/linux/openssl/openssl-speed.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/automated/linux/openssl/openssl-speed.sh b/automated/linux/openssl/openssl-speed.sh
index 574273b..431ab97 100755
--- a/automated/linux/openssl/openssl-speed.sh
+++ b/automated/linux/openssl/openssl-speed.sh
@@ -38,8 +38,8 @@ for test in ${cipher_commands}; do
case "${test}" in
# Parse asymmetric encryption output.
rsa2048|dsa2048)
- awk -v test_case_id="${test}" 'match($1$2, test_case_id) \
- {printf("%s-sign pass %s sign/s\n", test_case_id, $(NF-1)); \
+ awk -v test_case_id="${test}" 'match($1$2, test_case_id)
+ {printf("%s-sign pass %s sign/s\n", test_case_id, $(NF-1));
printf("%s-verify pass %s verify/s\n", test_case_id, $NF)}' \
"${OUTPUT}/${test}-output.txt" | tee -a "${RESULT_FILE}"
;;