From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 05B4EF94 for ; Fri, 15 Sep 2017 04:42:32 +0200 (CEST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Sep 2017 19:42:31 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,395,1500966000"; d="scan'208";a="1195291815" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by fmsmga001.fm.intel.com with ESMTP; 14 Sep 2017 19:42:31 -0700 Received: from bgsmsx102.gar.corp.intel.com (10.223.4.172) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 14 Sep 2017 19:42:31 -0700 Received: from bgsmsx101.gar.corp.intel.com ([169.254.1.62]) by BGSMSX102.gar.corp.intel.com ([169.254.2.11]) with mapi id 14.03.0319.002; Fri, 15 Sep 2017 08:12:29 +0530 From: "Yang, Zhiyong" To: "dev@dpdk.org" CC: "Wodkowski, PawelX" , "Wodkowski, PawelX" , "Kulasek, TomaszX" , "Doherty, Declan" Thread-Topic: [PATCH] test: fix wrong assignment operation Thread-Index: AQHTLciiwXhDZAwkLEyPnNoPDAgEe6K1O02g Date: Fri, 15 Sep 2017 02:42:28 +0000 Message-ID: References: <20170915021616.34428-1-zhiyong.yang@intel.com> In-Reply-To: <20170915021616.34428-1-zhiyong.yang@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNGY4OGQ1ZDQtYjYwNS00NTA1LThiYzgtOTEyODVhZTA2ZjVjIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE2LjUuOS4zIiwiVHJ1c3RlZExhYmVsSGFzaCI6Im44YlwvTE56NDBJS3pseU50K2YxamlqMjNVN1RaQ1FIT05iNlwvbzZ0K2Fvcz0ifQ== x-ctpclassification: CTP_IC dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action x-originating-ip: [10.223.10.10] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] test: fix wrong assignment operation X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Sep 2017 02:42:33 -0000 Sorry. I make a mistake in Cc: email address. This one is Superseded.=20 > -----Original Message----- > From: Yang, Zhiyong > Sent: Friday, September 15, 2017 10:16 AM > To: dev@dpdk.org > Cc: Wodkowski; Wodkowski, PawelX ; Kulasek; > Kulasek, TomaszX ; Doherty, Declan > ; Yang, Zhiyong > Subject: [PATCH] test: fix wrong assignment operation >=20 > It should be an comparation operation rather than an assignment operation= . >=20 > Fixes: 5e41ab250dfa("app/test: unit tests for bonding mode 4") >=20 > cc: Wodkowski, PawelX > cc: Kulasek, TomaszX > cc: Declan Doherty > Signed-off-by: Zhiyong Yang > --- > test/test/test_link_bonding_mode4.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/test/test/test_link_bonding_mode4.c > b/test/test/test_link_bonding_mode4.c > index 8e9e23db5..e246f0148 100644 > --- a/test/test/test_link_bonding_mode4.c > +++ b/test/test/test_link_bonding_mode4.c > @@ -661,7 +661,7 @@ bond_handshake(void) > TEST_ASSERT_EQUAL(all_slaves_done, 1, "Bond handshake failed\n"); >=20 > /* If flags doesn't match - report failure */ > - return all_slaves_done =3D 1 ? TEST_SUCCESS : TEST_FAILED; > + return all_slaves_done =3D=3D 1 ? TEST_SUCCESS : TEST_FAILED; > } >=20 > #define TEST_LACP_SLAVE_COUT RTE_DIM(test_params.slave_ports) > -- > 2.13.3