diff options
author | Milosz Wasilewski <milosz.wasilewski@linaro.org> | 2014-06-03 11:28:02 +0100 |
---|---|---|
committer | Milosz Wasilewski <milosz.wasilewski@linaro.org> | 2014-06-03 11:28:02 +0100 |
commit | 9d587962b9c5d9210aa144b24032fb220ba5528f (patch) | |
tree | f1ea46a1bf9414067198b120c6ad3c1351a60118 | |
parent | 088c6840f98e5ac1876c91fb199fe6dc1cde1257 (diff) |
openssl: fixed file permissions and units
Change-Id: Iddf56787f0f0a3b3b55f3be4393d78baac2890ef
Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
-rw-r--r-- | ubuntu/openssl.yaml | 3 | ||||
-rwxr-xr-x[-rw-r--r--] | ubuntu/scripts/openssl.sh | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/ubuntu/openssl.yaml b/ubuntu/openssl.yaml index 5860339..7718bc0 100644 --- a/ubuntu/openssl.yaml +++ b/ubuntu/openssl.yaml @@ -3,7 +3,7 @@ metadata: format: "Lava-Test-Shell Test Definition 1.0" description: "Test case that measures openssl speed benchmark" maintainer: - - Amit Khare <amit.khare@linaro.org> + - amit.khare@linaro.org os: - ubuntu devices: @@ -21,5 +21,6 @@ run: steps: - 'cd ubuntu/scripts' - './openssl.sh' + - lava-test-run-attach openssl-result.txt text/plain parse: pattern: "^(?P<test_case_id>\\S+):\\s+(?P<measurement>\\d+)\\s+(?P<units>\\S+)\\s+(?P<result>.*)" diff --git a/ubuntu/scripts/openssl.sh b/ubuntu/scripts/openssl.sh index 0451355..213ec94 100644..100755 --- a/ubuntu/scripts/openssl.sh +++ b/ubuntu/scripts/openssl.sh @@ -23,8 +23,8 @@ test_func(){ test_cmd=$1 - openssl speed $test_cmd 2>&1|grep "Doing $test_cmd"> /tmp/result.txt - awk '{printf "%s-%s: %d sec pass\n" , $2, $6, $9/3}' /tmp/result.txt + openssl speed $test_cmd 2>&1|grep "Doing $test_cmd"> openssl-result.txt + awk '{printf "%s-%s: %d blocks/sec pass\n" , $2, $6, $9/3}' openssl-result.txt } test_func md5 test_func sha1 |