summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur She <arthur.she@linaro.org>2015-08-25 21:17:01 -0700
committerArthur She <arthur.she@linaro.org>2015-08-25 21:17:01 -0700
commit374637c9b84891dec698ed741cb408c3737bc405 (patch)
tree6119cebcf09cc27e86a6f9fbf3e39ad14e8fdff8
parent7e97da950a78b7147dfbf1cd45f48bbf1bbbcdb1 (diff)
modified: bonnie++.yaml
-rw-r--r--common/bonnie++.yaml7
1 files changed, 5 insertions, 2 deletions
diff --git a/common/bonnie++.yaml b/common/bonnie++.yaml
index fe508e7..da003a7 100644
--- a/common/bonnie++.yaml
+++ b/common/bonnie++.yaml
@@ -2,7 +2,10 @@ metadata:
name: bonnie_benchmark_test
format: "Lava-Test-Shell Test Definition 1.0"
description: "Bonnie++ is a benchmark suite that is aimed at performing
- a number of simple tests of hard drive and file system performance."
+ a number of simple tests of hard drive and file system performance.
+ If a test completes in less than 500ms then the output will be displayed as '++++'.
+ This is because such a test result can't be calculated accurately due to rounding errors
+ and I would rather display no result than a wrong result."
maintainer:
- mahanth.gouda@linaro.org
- arthur.she@linaro.org
@@ -33,7 +36,7 @@ run:
steps:
- 'OPT="-u 0:0 -d $SCRATCH_DIR -s $SIZE -n $NUM_TO_STAT -r $RAM_SIZE"'
- '/usr/sbin/bonnie++ $OPT | tee bonnie++.log'
- - 'log_file_size=`du -b bonnie++.log|cut -f1`'
+ - 'log_file_size=`du -b bonnie++.log | cut -f1`'
- 'lava-test-case run-bonnie++ --shell test ${log_file_size} -gt 0'
- 'lava-test-case-attach run-bonnie++ bonnie++.log'
- './common/scripts/bonnie++.sh bonnie++.log'