iotests: add copy-before-write: on-cbw-error tests
commitdd3e97dfbe199fa277869d127884071100a426e5
authorVladimir Sementsov-Ogievskiy <vsementsov@openvz.org>
Thu, 7 Apr 2022 13:27:22 +0000 (7 16:27 +0300)
committerVladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Wed, 29 Jun 2022 07:55:14 +0000 (29 10:55 +0300)
tree695b722c00bf0c4b79c905d7b080eec2d0c555bb
parentf1bb39a8a5b6d486faa1a51a7f28c577155642c9
iotests: add copy-before-write: on-cbw-error tests

Add tests for new option of copy-before-write filter: on-cbw-error.

Note that we use QEMUMachine instead of VM class, because in further
commit we'll want to use throttling which doesn't work with -accel
qtest used by VM.

We also touch pylintrc to not break iotest 297.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@openvz.org>
Reviewed-by: Hanna Reitz <hreitz@redhat.com>
  [vsementsov: add arguments to QEMUMachine constructor]
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
tests/qemu-iotests/pylintrc
tests/qemu-iotests/tests/copy-before-write [new file with mode: 0755]
tests/qemu-iotests/tests/copy-before-write.out [new file with mode: 0644]