From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38237) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XtKWt-0006LP-5d for qemu-devel@nongnu.org; Tue, 25 Nov 2014 13:08:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XtKWk-0006MH-3E for qemu-devel@nongnu.org; Tue, 25 Nov 2014 13:07:59 -0500 Received: from e06smtp13.uk.ibm.com ([195.75.94.109]:53382) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XtKWj-0006LG-Pl for qemu-devel@nongnu.org; Tue, 25 Nov 2014 13:07:50 -0500 Received: from /spool/local by e06smtp13.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 25 Nov 2014 18:07:48 -0000 Received: from b06cxnps3074.portsmouth.uk.ibm.com (d06relay09.portsmouth.uk.ibm.com [9.149.109.194]) by d06dlp01.portsmouth.uk.ibm.com (Postfix) with ESMTP id 35CF417D8042 for ; Tue, 25 Nov 2014 18:08:01 +0000 (GMT) Received: from d06av03.portsmouth.uk.ibm.com (d06av03.portsmouth.uk.ibm.com [9.149.37.213]) by b06cxnps3074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id sAPI7jN715466968 for ; Tue, 25 Nov 2014 18:07:45 GMT Received: from d06av03.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av03.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id sAPI7fpo026333 for ; Tue, 25 Nov 2014 11:07:44 -0700 Date: Tue, 25 Nov 2014 19:07:37 +0100 From: Michael Mueller Message-ID: <20141125190737.4353adb6@bee> In-Reply-To: <1415875021-15248-5-git-send-email-maochuan@linux.vnet.ibm.com> References: <1415875021-15248-1-git-send-email-maochuan@linux.vnet.ibm.com> <1415875021-15248-5-git-send-email-maochuan@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v1 RFC 4/9] qemu-iotests: fix test 039 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Mao Chuan Li Cc: Kevin Wolf , qemu-devel@nongnu.org, Alexander Graf , Christian Borntraeger , Stefan Hajnoczi , Cornelia Huck On Thu, 13 Nov 2014 18:36:56 +0800 Mao Chuan Li wrote: > For successful execution of case 039, core dump need be > disabled. Just running "ulimit -c 0" command is not enough when the > /proc/sys/kernel/core_pattern indicates to pipe the dump to another > application. So we must erase the pattern in addition to the ulimit > command. > > Reviewed-by: Michael Mueller > Signed-off-by: Mao Chuan Li > --- > tests/qemu-iotests/039 | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/tests/qemu-iotests/039 b/tests/qemu-iotests/039 > index 84c9167..bb9382a 100755 > --- a/tests/qemu-iotests/039 > +++ b/tests/qemu-iotests/039 > @@ -34,6 +34,7 @@ status=1 # failure is the default! > _cleanup() > { > _cleanup_test_img > + _restore_core_pattern > } > trap "_cleanup; exit \$status" 0 1 2 3 15 > > @@ -41,6 +42,8 @@ trap "_cleanup; exit \$status" 0 1 2 3 15 > . ./common.rc > . ./common.filter > > +_erase_core_pattern > + > _supported_fmt qcow2 > _supported_proto file > _supported_os Linux Mao, you can skip this a and the previous (3/9) patch from the series, please have a look to the patch Max has posted to solve the issue. Thanks Michael