From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60112) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eKEy9-0005Ef-Qb for qemu-devel@nongnu.org; Wed, 29 Nov 2017 21:52:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eKEy9-0005NG-0t for qemu-devel@nongnu.org; Wed, 29 Nov 2017 21:52:57 -0500 Date: Thu, 30 Nov 2017 10:52:49 +0800 From: Fam Zheng Message-ID: <20171130025249.GH16237@lemon> References: <20171123020832.8165-1-mreitz@redhat.com> <20171123020832.8165-8-mreitz@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171123020832.8165-8-mreitz@redhat.com> Subject: Re: [Qemu-devel] [PATCH 07/17] iotests: Forbid 020 for non-file protocols List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Max Reitz Cc: qemu-block@nongnu.org, qemu-devel@nongnu.org, Kevin Wolf , John Snow On Thu, 11/23 03:08, Max Reitz wrote: > This test does funny things like TEST_IMG="TEST_IMG.base" _make_test_img > that usually only work with the file protocol. More specifically, they > do not work with the most interesting non-file protocols, so we might as > well skip this for anything but file. > > Signed-off-by: Max Reitz > --- > tests/qemu-iotests/020 | 8 +------- > 1 file changed, 1 insertion(+), 7 deletions(-) > > diff --git a/tests/qemu-iotests/020 b/tests/qemu-iotests/020 > index cefe3a830e..d22ab81414 100755 > --- a/tests/qemu-iotests/020 > +++ b/tests/qemu-iotests/020 > @@ -42,18 +42,12 @@ trap "_cleanup; exit \$status" 0 1 2 3 15 > > # Any format supporting backing files > _supported_fmt qcow qcow2 vmdk qed > -_supported_proto generic > -_unsupported_proto vxhs > +_supported_proto file > _supported_os Linux > _unsupported_imgopts "subformat=monolithicFlat" \ > "subformat=twoGbMaxExtentFlat" \ > "subformat=twoGbMaxExtentSparse" > > -# NFS does not support bdrv_reopen_prepare thus qemu-img commit fails. > -if [ "$IMGPROTO" = "nfs" ]; then > - _notrun "image protocol $IMGPROTO does not support bdrv_commit" > -fi > - > TEST_OFFSETS="0 4294967296" > > TEST_IMG_SAVE="$TEST_IMG" > -- > 2.13.6 > Reviewed-by: Fam Zheng