From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52931) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eF26E-0001ID-Kr for qemu-devel@nongnu.org; Wed, 15 Nov 2017 13:07:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eF26D-0003v5-Mo for qemu-devel@nongnu.org; Wed, 15 Nov 2017 13:07:46 -0500 From: Max Reitz Date: Wed, 15 Nov 2017 19:07:32 +0100 Message-Id: <20171115180732.31753-1-mreitz@redhat.com> Subject: [Qemu-devel] [PATCH] iotests: Make 087 pass without AIO enabled List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-block@nongnu.org Cc: qemu-devel@nongnu.org, Max Reitz , Kevin Wolf If AIO has not been enabled in the qemu build that is to be tested, we should skip the "aio=native without O_DIRECT" test instead of failing. Signed-off-by: Max Reitz --- Cleber wanted to fix this in July with his "build configuration query tool and conditional (qemu-io)test skip" series (https://lists.gnu.org/archive/html/qemu-block/2017-07/msg01303.html), but unfortunately there hasn't been any activity on that (as far as I can see), so let's just solve it the simple way. --- tests/qemu-iotests/087 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tests/qemu-iotests/087 b/tests/qemu-iotests/087 index 27ab6c5151..2561a14456 100755 --- a/tests/qemu-iotests/087 +++ b/tests/qemu-iotests/087 @@ -102,7 +102,14 @@ echo echo === aio=native without O_DIRECT === echo -run_qemu <