projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f4b774
)
iotests.py: filter_testfiles(): filter SOCK_DIR too
author
Vladimir Sementsov-Ogievskiy
<vsementsov@virtuozzo.com>
Wed, 1 Jul 2020 10:53:30 +0000
(13:53 +0300)
committer
Eric Blake
<eblake@redhat.com>
Mon, 13 Jul 2020 14:01:01 +0000
(09:01 -0500)
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <
20200701105331
.121670-5-vsementsov@virtuozzo.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
tests/qemu-iotests/iotests.py
patch
|
blob
|
history
diff --git
a/tests/qemu-iotests/iotests.py
b/tests/qemu-iotests/iotests.py
index 2a08fea3c9ec851b2687c1b8f736985e161f044a..8b760405ee72263e82419d4bc502a0c12489d3fa 100644
(file)
--- a/
tests/qemu-iotests/iotests.py
+++ b/
tests/qemu-iotests/iotests.py
@@
-345,8
+345,9
@@
def filter_qmp(qmsg, filter_fn):
return qmsg
def filter_testfiles(msg):
- prefix = os.path.join(test_dir, "%s-" % (os.getpid()))
- return msg.replace(prefix, 'TEST_DIR/PID-')
+ pref1 = os.path.join(test_dir, "%s-" % (os.getpid()))
+ pref2 = os.path.join(sock_dir, "%s-" % (os.getpid()))
+ return msg.replace(pref1, 'TEST_DIR/PID-').replace(pref2, 'SOCK_DIR/PID-')
def filter_qmp_testfiles(qmsg):
def _filter(_key, value):