summaryrefslogtreecommitdiff
path: root/automated
diff options
context:
space:
mode:
authorChase Qi <chase.qi@linaro.org>2017-11-13 16:17:49 +0800
committerMilosz Wasilewski <milosz.wasilewski@linaro.org>2017-11-13 11:36:51 +0000
commitab9ae1f7f4e2ecdaed5897fbf776afa70eeb0db4 (patch)
treed6df74118f9b2711ee34bece76d254cf1b832748 /automated
parent8c2502fc313007f2c34e1fff06235ab1fa3fc16f (diff)
linux: sysbench: replace slash with minus in test case name
slash in test case name is reserved in squad to group tests. It will take 'oltp-read/write-requests' test from sysbench as 'write-requests' test from 'sysbench/oltp-read'. Replacing slash between 'read' and 'write' with minus fixes this issue. Change-Id: I1fb699216f4d07cac199b3bab01169d2012823aa Signed-off-by: Chase Qi <chase.qi@linaro.org>
Diffstat (limited to 'automated')
-rwxr-xr-xautomated/linux/sysbench/sysbench.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/automated/linux/sysbench/sysbench.sh b/automated/linux/sysbench/sysbench.sh
index 4545af9..57f3708 100755
--- a/automated/linux/sysbench/sysbench.sh
+++ b/automated/linux/sysbench/sysbench.sh
@@ -193,7 +193,7 @@ for tc in ${TESTS}; do
for i in transactions deadlocks "read/write requests" "other operations"; do
ms=$(grep "${i}:" sysbench-oltp.txt | awk '{print substr($(NF-2),2)}')
- i=$(echo "$i" | sed 's/ /-/g')
+ i=$(echo "$i" | sed 's/ /-/g; s|/|-|')
add_metric "${tc}-${i}" "pass" "${ms}" "ops"
done