qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] iotests: fix _check_o_direct


From: Max Reitz
Subject: Re: [PATCH] iotests: fix _check_o_direct
Date: Tue, 22 Dec 2020 16:15:32 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.5.0

On 18.12.20 19:20, Vladimir Sementsov-Ogievskiy wrote:
Unfortunately commit "iotests: handle tmpfs" break 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 smothing 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>
---
  tests/qemu-iotests/common.rc | 7 ++++---
  1 file changed, 4 insertions(+), 3 deletions(-)

Thanks, applied to my block branch:

https://git.xanclic.moe/XanClic/qemu/commits/branch/block




reply via email to

[Prev in Thread] Current Thread [Next in Thread]