Merge "VMTasks.dd_load: No random input for write test"

This commit is contained in:
Jenkins 2017-10-10 03:29:52 +00:00 committed by Gerrit Code Review
commit ee5349085b
1 changed files with 1 additions and 1 deletions

View File

@ -438,7 +438,7 @@ EOF
additive_dd() {
local c=${1:-50} # Megabytes
local file=/tmp/dd_test.img
local write=$(get_seconds "dd if=/dev/urandom of=${file} bs=1M count=${c}")
local write=$(get_seconds "dd if=/dev/zero of=${file} bs=1M count=${c}")
local read=$(get_seconds "dd if=${file} of=/dev/null bs=1M count=${c}")
local gzip=$(get_seconds "gzip ${file}")
rm ${file}.gz