diff options
author | Arthur She <arthur.she@linaro.org> | 2015-08-25 14:51:54 -0700 |
---|---|---|
committer | Arthur She <arthur.she@linaro.org> | 2015-08-25 14:51:54 -0700 |
commit | 3f7e1baf2e501a31447b535e6b99b351600da9c3 (patch) | |
tree | b58ee2073c99541b83dbe669e1f511b0f72edbdb | |
parent | 58856d0037e24ff4d72e0724ec633650d18dd314 (diff) |
modified: bonnie++.yaml
-rw-r--r-- | common/bonnie++.yaml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/common/bonnie++.yaml b/common/bonnie++.yaml index 1df097a..ec8e20c 100644 --- a/common/bonnie++.yaml +++ b/common/bonnie++.yaml @@ -32,6 +32,8 @@ params: run: steps: - 'OPT="-u 0:0 -d $SCRATCH_DIR -s $SIZE -n $NUM_TO_STAT -r $RAM_SIZE -q"' - - 'lava-test-case run-bonnie++ --shell "/usr/sbin/bonnie++ $OPT | tee bonnie++.log"' + - '/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' - 'lava-test-case-attach run-bonnie++ bonnie++.log' - './common/scripts/bonnie++.sh bonnie++.log' |