[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2] tools/tests: Make E2BIG non-fatal to xenstore unit test


  • To: Kevin Stefanov <kevin.stefanov@xxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Fri, 15 Oct 2021 14:21:11 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=uFI1l6HpFJqS7tyEPeOP1lybrbAvgDqn8oz4gNy3HqQ=; b=U0eTkN7xIV7Cb289SinWqMHAcH2E5egm0IyJbr/j1+y3TpnvaNJSGBU3Se9fjO90FIbi7F7LIOj5rC98s+KnrkHr+AwIZBU1okog09oymKx8UuuB22pP7vJV1MSsAhX7DXQmFTyCxQebG8FgFl01poR5haKqye4h/JTLhipae/d8oOM1544Fa3CG0qB6DHwCe4SBFOG81yCjtzdn0lOtXWBg5M2tx+zqJvslWoLDXIdedEOTWKMM6dPb270eoxdYRzogA258/ia/hH/w4mhN4KzCSMoC/GfYVqZ7pDOxFALvLmO9JuzWZ66tQP0TAIHsUXUeUDyfmJy74EtDiA57Tg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=esILonrKT8iSBvigaB67gU4Q08kZzpIlsGb0qc+tVY0TeCW7sR2kcFQN3NgBD0hk/dd7KRLJ7oQ6PVzlwWrhaDRjJ68Fgh6TaiVdV32CYD2Xn7pTpqWeGoYZFujlY1MPgpzmHzgPo4LPZMToZypbRBmWvesBIlI1B9ibF1fu7id8oyC5JR2xzwlurgjtr48kqFMyNu/yzoo2rFvcm0FzXrdBi7QDOh3On4xJZGvofs80mfE5Y0YlBcpLkPPSMji1G+zWrxppmKzZwb3v67xcEizAgGm1V/A5l7/gycQcyzcoyRDjFF/T1FdFtvBiU/0XIxcP1pkBuvzGn0sQvFN/Gw==
  • Authentication-results: lists.xenproject.org; dkim=none (message not signed) header.d=none;lists.xenproject.org; dmarc=none action=none header.from=suse.com;
  • Cc: Ian Jackson <iwj@xxxxxxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Juergen Gross <jgross@xxxxxxxx>, Julien Grall <julien@xxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Fri, 15 Oct 2021 12:21:26 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 15.10.2021 14:14, Kevin Stefanov wrote:
> --- a/tools/tests/xenstore/test-xenstore.c
> +++ b/tools/tests/xenstore/test-xenstore.c
> @@ -110,8 +110,17 @@ static int call_test(struct test *tst, int iters, bool 
> no_clock)
>              break;
>      }
>  
> +    /* Make E2BIG non-fatal to the test */
>      if ( ret )
> -        printf("%-10s: failed (ret = %d, stage %s)\n", tst->name, ret, 
> stage);
> +    {
> +     if ( ret == E2BIG )

Just fyi that it looks like a hard tab has slipped in here.

Jan




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.