From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_PASS,SPF_SOFTFAIL,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C62A7C433EF for ; Fri, 22 Apr 2022 16:01:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243929AbiDVQEp (ORCPT ); Fri, 22 Apr 2022 12:04:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39618 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345871AbiDVQEl (ORCPT ); Fri, 22 Apr 2022 12:04:41 -0400 Received: from mx0a-00082601.pphosted.com (mx0a-00082601.pphosted.com [67.231.145.42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0256255236 for ; Fri, 22 Apr 2022 09:01:48 -0700 (PDT) Received: from pps.filterd (m0044010.ppops.net [127.0.0.1]) by mx0a-00082601.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 23MF3GBD031018 for ; Fri, 22 Apr 2022 09:01:47 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fb.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=facebook; bh=Qh0NFZZ/PQHv4KCBHZQDn80Dm4UBa7+aTbkpJh1ke3Q=; b=XW7qG4B49qknsrZjMklR8oQSqQZMHdLTIJmC17I3VdtWn6lvFv7H9Zjayofg/mwYvyJi qWy8v+/toZo+ZPQjZV+C9EhUGay3Xkuv3af/BHdi7LK3ub3XsvRFslyuTzp4CNjxra1A OKuT33t2OQCaJNsTJ7dSduyh/3rqG6eC7Cg= Received: from maileast.thefacebook.com ([163.114.130.16]) by mx0a-00082601.pphosted.com (PPS) with ESMTPS id 3fket45d2w-6 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Fri, 22 Apr 2022 09:01:47 -0700 Received: from twshared8053.07.ash9.facebook.com (2620:10d:c0a8:1b::d) by mail.thefacebook.com (2620:10d:c0a8:82::e) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Fri, 22 Apr 2022 09:01:46 -0700 Received: by devbig039.lla1.facebook.com (Postfix, from userid 572232) id DCFF77E01539; Fri, 22 Apr 2022 09:01:40 -0700 (PDT) From: Dylan Yudaken To: CC: , , , Dylan Yudaken Subject: [PATCH liburing v2 3/7] test: use unique ports Date: Fri, 22 Apr 2022 09:01:28 -0700 Message-ID: <20220422160132.2891927-4-dylany@fb.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220422160132.2891927-1-dylany@fb.com> References: <20220422160132.2891927-1-dylany@fb.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-FB-Internal: Safe Content-Type: text/plain X-Proofpoint-ORIG-GUID: zlFsEVOmFnIGXm6hUTFTKL5z6V1fWOe7 X-Proofpoint-GUID: zlFsEVOmFnIGXm6hUTFTKL5z6V1fWOe7 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.858,Hydra:6.0.486,FMLib:17.11.64.514 definitions=2022-04-22_04,2022-04-22_01,2022-02-23_01 Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org In preparation for running tests in parallel remove some collisions in ports. In the future this should probably use ephemeral ports, but for no= w there are not too many places to change. Signed-off-by: Dylan Yudaken --- test/232c93d07b74.c | 2 +- test/recv-msgall.c | 2 +- test/send_recv.c | 2 +- test/send_recvmsg.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/232c93d07b74.c b/test/232c93d07b74.c index 4153aef..8a7810b 100644 --- a/test/232c93d07b74.c +++ b/test/232c93d07b74.c @@ -26,7 +26,7 @@ #define RECV_BUFF_SIZE 2 #define SEND_BUFF_SIZE 3 =20 -#define PORT 0x1235 +#define PORT 0x1234 =20 struct params { int tcp; diff --git a/test/recv-msgall.c b/test/recv-msgall.c index 5f202b4..a6f7cfc 100644 --- a/test/recv-msgall.c +++ b/test/recv-msgall.c @@ -17,7 +17,7 @@ =20 #define MAX_MSG 128 =20 -#define PORT 10200 +#define PORT 10201 #define HOST "127.0.0.1" =20 static int recv_prep(struct io_uring *ring, struct iovec *iov, int *sock= , diff --git a/test/send_recv.c b/test/send_recv.c index ad8ea0e..a7b001a 100644 --- a/test/send_recv.c +++ b/test/send_recv.c @@ -19,7 +19,7 @@ static char str[] =3D "This is a test of send and recv = over io_uring!"; =20 #define MAX_MSG 128 =20 -#define PORT 10200 +#define PORT 10202 #define HOST "127.0.0.1" =20 static int recv_prep(struct io_uring *ring, struct iovec *iov, int *sock= , diff --git a/test/send_recvmsg.c b/test/send_recvmsg.c index 43121f0..f607b5c 100644 --- a/test/send_recvmsg.c +++ b/test/send_recvmsg.c @@ -19,7 +19,7 @@ static char str[] =3D "This is a test of sendmsg and re= cvmsg over io_uring!"; =20 #define MAX_MSG 128 =20 -#define PORT 10200 +#define PORT 10203 #define HOST "127.0.0.1" =20 #define BUF_BGID 10 --=20 2.30.2