|
From: | Vladimir Sementsov-Ogievskiy |
Subject: | Re: [PATCH] iotests: fix _check_o_direct |
Date: | Tue, 22 Dec 2020 18:35:53 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 |
22.12.2020 18:15, Max Reitz wrote:
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
s/smothing/something/ , sorry.
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
Thanks! -- Best regards, Vladimir
[Prev in Thread] | Current Thread | [Next in Thread] |