]> git.proxmox.com Git - mirror_qemu.git/commit - tests/qemu-iotests/055
iotest 055: refactor and speed up
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Tue, 9 Aug 2016 13:15:23 +0000 (16:15 +0300)
committerMax Reitz <mreitz@redhat.com>
Tue, 20 Sep 2016 20:12:57 +0000 (22:12 +0200)
commit819cec0114eeca80444a21f2e3526ef62d729385
tree9cd6087848a7cb55006901cd7cd28f5bd47a8bd4
parent4d6f8cbba75eb3bf389cd0edb779c9e33f4b03a6
iotest 055: refactor and speed up

Source disk is created and filled with test data before each test case.
Instead initialize it once for the whole unit.

Test disk filling patterns are merged into one pattern.

Also TestSetSpeed used different image_len for source and target (by
mistake) - this is automatically fixed here.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-id: 1470748523-13856-1-git-send-email-vsementsov@virtuozzo.com
Reviewed-by: Pavel Butsykin <pbutsykin@virtuozzo.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
tests/qemu-iotests/055