iotests: add testenv.py
commit2e5a2f57db481f18fcf70be2a36b1417370b8476
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Mon, 25 Jan 2021 18:50:53 +0000 (25 21:50 +0300)
committerKevin Wolf <kwolf@redhat.com>
Wed, 27 Jan 2021 19:53:14 +0000 (27 20:53 +0100)
tree8a038d49ae50ea89bcd3e1a62ad6db64c988ab45
parentb25a948875c5dd587b91e7fa0bfe0c3556488e7c
iotests: add testenv.py

Add TestEnv class, which will handle test environment in a new python
iotests running framework.

Don't add compat=1.1 for qcow2 IMGOPTS, as v3 is default anyway.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20210125185056.129513-4-vsementsov@virtuozzo.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/qemu-iotests/testenv.py [new file with mode: 0644]