]> git.proxmox.com Git - mirror_qemu.git/commit
iotests: open notrun files in text mode
authorAndrey Shinkevich <andrey.shinkevich@virtuozzo.com>
Thu, 7 Mar 2019 13:33:57 +0000 (16:33 +0300)
committerKevin Wolf <kwolf@redhat.com>
Fri, 8 Mar 2019 11:26:45 +0000 (12:26 +0100)
commitce090f656c44b357f6caf8f6000648744fbb655b
tree9f146d68013719ce07aa5813190ca24f0ba403d9
parentaf39bd0d9a889ac6a412dafd50aee0e84ccfa291
iotests: open notrun files in text mode

Replace the binary mode with the default text one when *.notrun
files are opened for skipped tests. That change is made for the
compatibility with Python 3 which returns error otherwise.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Andrey Shinkevich <andrey.shinkevich@virtuozzo.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/qemu-iotests/iotests.py