diff options
| author | Vladimir Sementsov-Ogievskiy | 2020-12-18 19:20:12 +0100 |
|---|---|---|
| committer | Max Reitz | 2021-01-26 11:26:54 +0100 |
| commit | 0c8de0a1330f7088b6f6659e92e8b23c8a1e2137 (patch) | |
| tree | 3f54b3e1d79ec450b4f94cf3db44f6135560d518 /tests/test-thread-pool.c | |
| parent | Merge remote-tracking branch 'remotes/jasowang/tags/net-pull-request' into st... (diff) | |
| download | qemu-0c8de0a1330f7088b6f6659e92e8b23c8a1e2137.tar.gz qemu-0c8de0a1330f7088b6f6659e92e8b23c8a1e2137.tar.xz qemu-0c8de0a1330f7088b6f6659e92e8b23c8a1e2137.zip | |
iotests: fix _check_o_direct
Unfortunately commit "iotests: handle tmpfs" breaks running iotests
with -nbd -nocache, as _check_o_direct tries to create
$TEST_IMG.test_o_direct, but in case of nbd TEST_IMG is something like
nbd+unix:///... , and test fails with message
qemu-img: nbd+unix:///?socket[...]test_o_direct: Protocol driver
'nbd' does not support image creation, and opening the image
failed: Failed to connect to '/tmp/tmp.[...]/nbd/test_o_direct': No
such file or directory
Use TEST_DIR instead.
Fixes: cfdca2b9f9d4ca26bb2b2dfe8de3149092e39170
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20201218182012.47607-1-vsementsov@virtuozzo.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'tests/test-thread-pool.c')
0 files changed, 0 insertions, 0 deletions
