diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2012-05-08 16:51:51 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2012-05-10 10:32:12 +0200 |
commit | 8655d2de0a101782b8066779b8b04e59a80c7d85 (patch) | |
tree | 6bf57138f38318ba1a23a604d562cfe853f42c31 /tests/qemu-iotests/016.out | |
parent | dc5a137125d6ac641c566f10e68bf6e1fe31bcb5 (diff) |
qemu-io: correctly print non-integer values as decimals
qemu-io's cvtstr function sometimes will incorrectly omit the
decimal part of the number, and sometimes will incorrectly include
it. This patch fixes both. The former is more serious, and can
be seen in the patches to 027.out and 033.out.
The changes to all other files were scripted with sed, so there were
no "surprises" beyond 027.out and 033.out.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/016.out')
-rw-r--r-- | tests/qemu-iotests/016.out | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/qemu-iotests/016.out b/tests/qemu-iotests/016.out index 86ad5f6c1f..18679780d0 100644 --- a/tests/qemu-iotests/016.out +++ b/tests/qemu-iotests/016.out @@ -3,21 +3,21 @@ Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 == reading at EOF == read 512/512 bytes at offset 134217728 -512.000000 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) +512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) == reading far past EOF == read 512/512 bytes at offset 268435456 -512.000000 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) +512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) == writing at EOF == wrote 512/512 bytes at offset 134217728 -512.000000 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) +512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) read 512/512 bytes at offset 134217728 -512.000000 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) +512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) == writing far past EOF == wrote 512/512 bytes at offset 268435456 -512.000000 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) +512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) read 512/512 bytes at offset 268435456 -512.000000 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) +512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) *** done |