]> xenbits.xensource.com Git - qemu-xen-unstable.git/commit
iotests: add file_path helper
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Mon, 12 Mar 2018 15:21:25 +0000 (18:21 +0300)
committerEric Blake <eblake@redhat.com>
Tue, 13 Mar 2018 20:44:09 +0000 (15:44 -0500)
commitef6e92280ef90f808adf0032f073331c36f58baf
treedc76864cbc6c3f28d063d798489ea6f3129fa72d
parent02f3a9119955891abb2ead5e0bb9cc2f0af42150
iotests: add file_path helper

Simple way to have auto generated filenames with auto cleanup. Like
FilePath but without using 'with' statement and without additional
indentation of the whole test.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20180312152126.286890-8-vsementsov@virtuozzo.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
[eblake: grammar tweak]
Signed-off-by: Eric Blake <eblake@redhat.com>
tests/qemu-iotests/iotests.py