From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50780) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VKQIG-00011n-9z for qemu-devel@nongnu.org; Fri, 13 Sep 2013 06:08:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VKQIA-0006vW-9Z for qemu-devel@nongnu.org; Fri, 13 Sep 2013 06:08:04 -0400 Received: from mx1.redhat.com ([209.132.183.28]:1834) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VKQIA-0006vQ-20 for qemu-devel@nongnu.org; Fri, 13 Sep 2013 06:07:58 -0400 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r8DA7vFi004790 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 13 Sep 2013 06:07:57 -0400 Date: Fri, 13 Sep 2013 12:07:56 +0200 From: Kevin Wolf Message-ID: <20130913100756.GD2804@dhcp-200-207.str.redhat.com> References: <1379061432-16841-1-git-send-email-mreitz@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1379061432-16841-1-git-send-email-mreitz@redhat.com> Subject: Re: [Qemu-devel] [PATCH] qemu-iotests: Fix test 038 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Max Reitz Cc: qemu-devel@nongnu.org, Stefan Hajnoczi Am 13.09.2013 um 10:37 hat Max Reitz geschrieben: > Test 038 uses asynchronous I/O, resulting (potentially) in a different > output for every run (regarding the order of the I/O accesses). This can > be fixed by simply sorting the I/O access messages, since their order is > irrelevant anyway (for this asynchonous I/O). > > Signed-off-by: Max Reitz > --- > tests/qemu-iotests/038 | 3 ++- > tests/qemu-iotests/038.out | 10 +++++----- > 2 files changed, 7 insertions(+), 6 deletions(-) > > diff --git a/tests/qemu-iotests/038 b/tests/qemu-iotests/038 > index 36125ea..90de1a7 100755 > --- a/tests/qemu-iotests/038 > +++ b/tests/qemu-iotests/038 > @@ -95,7 +95,8 @@ function overlay_io() > } > > overlay_io | $QEMU_IO $TEST_IMG | _filter_qemu_io |\ > - sed -e 's/bytes at offset [0-9]*/bytes at offset XXX/g' > + sed -e 's/bytes at offset [0-9]*/bytes at offset XXX/g' \ > + -e 's/qemu-io> //g' | paste - - | sort | tr '\t' '\n' Awesome. :-) Thanks, applied to the block branch. Kevin