summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xautomated/linux/openssl/openssl-speed.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/automated/linux/openssl/openssl-speed.sh b/automated/linux/openssl/openssl-speed.sh
index a70db1b..a846508 100755
--- a/automated/linux/openssl/openssl-speed.sh
+++ b/automated/linux/openssl/openssl-speed.sh
@@ -1,4 +1,6 @@
#!/bin/sh
+# shellcheck disable=SC1004
+# shellcheck disable=SC1091
. ../../lib/sh-test-lib
OUTPUT="$(pwd)/output"
@@ -37,8 +39,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}"
;;