summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur She <arthur.she@linaro.org>2015-08-25 19:29:26 -0700
committerArthur She <arthur.she@linaro.org>2015-08-25 19:29:26 -0700
commit7e97da950a78b7147dfbf1cd45f48bbf1bbbcdb1 (patch)
tree27049c378a10b947d3758d2ea3654589c2e97622
parentb641bd1e79f51a5ff88bacc123e5f27399309165 (diff)
modified: bonnie++.yaml
modified: scripts/bonnie++.sh
-rw-r--r--common/bonnie++.yaml2
-rwxr-xr-xcommon/scripts/bonnie++.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/common/bonnie++.yaml b/common/bonnie++.yaml
index ba8548a..fe508e7 100644
--- a/common/bonnie++.yaml
+++ b/common/bonnie++.yaml
@@ -31,7 +31,7 @@ params:
run:
steps:
- - 'OPT="-u 0:0 -d $SCRATCH_DIR -s $SIZE -n $NUM_TO_STAT -r $RAM_SIZE -q"'
+ - '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`'
- 'lava-test-case run-bonnie++ --shell test ${log_file_size} -gt 0'
diff --git a/common/scripts/bonnie++.sh b/common/scripts/bonnie++.sh
index b6c6f27..7da96ac 100755
--- a/common/scripts/bonnie++.sh
+++ b/common/scripts/bonnie++.sh
@@ -2,7 +2,7 @@
LOG=$1
TEST_ID="format_version,bonnie_version,name,concurrency,seed,file_size,io_chunk_size,putc,putc_cpu,put_block,put_block_cpu,rewrite,rewrite_cpu,getc,getc_cpu,get_block,get_block_cpu,seeks,seeks_cpu,num_files,max_size,min_size,num_dirs,file_chunk_size,seq_create,seq_create_cpu,seq_stat,seq_stat_cpu,seq_del,seq_del_cpu,ran_create,ran_create_cpu,ran_stat,ran_stat_cpu,ran_del,ran_del_cpu,putc_latency,put_block_latency,rewrite_latency,getc_latency,get_block_latency,seeks_latency,seq_create_latency,seq_stat_latency,seq_del_latency,ran_create_latency,ran_stat_latency,ran_del_latency"
-read -r TEST_RESULT < ${LOG}
+TEST_RESULT=`cat ${LOG} | grep "^[0-9]"`
for i in `seq 8 48`
do