From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A8CBAC433EF for ; Fri, 22 Apr 2022 11:48:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1380235AbiDVLvd (ORCPT ); Fri, 22 Apr 2022 07:51:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51908 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1447156AbiDVLvc (ORCPT ); Fri, 22 Apr 2022 07:51:32 -0400 Received: from mx0a-00082601.pphosted.com (mx0a-00082601.pphosted.com [67.231.145.42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 926CB4505C for ; Fri, 22 Apr 2022 04:48:39 -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 23LNWeLr030990 for ; Fri, 22 Apr 2022 04:48:39 -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=fSGs6eEPffIdFJ5xIrJCFong3VkIDjVHenYBkcoEx5A=; b=kD6JroQNumqHRn2WKW1UbWECCnXqP++o4joFrpuvME+pLge8/329fue+odHO0yzcuPC6 E4iDnVxwiP0+XOnY9mrT7PBB6vK8ivefNk/WNhkMEE3FpKPTwNbtnCRMLIjmXLgK9gu2 57ZwWrHVEB8DPPRTi6qlATHFbZNPPaRBzwM= Received: from mail.thefacebook.com ([163.114.132.120]) by mx0a-00082601.pphosted.com (PPS) with ESMTPS id 3fket43wee-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Fri, 22 Apr 2022 04:48:39 -0700 Received: from twshared4937.07.ash9.facebook.com (2620:10d:c085:108::8) by mail.thefacebook.com (2620:10d:c085:21d::4) 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 04:48:38 -0700 Received: by devbig039.lla1.facebook.com (Postfix, from userid 572232) id 8CF897DC56B1; Fri, 22 Apr 2022 04:48:31 -0700 (PDT) From: Dylan Yudaken To: CC: , , , Dylan Yudaken Subject: [PATCH liburing 2/7] test: use unique path for socket Date: Fri, 22 Apr 2022 04:48:10 -0700 Message-ID: <20220422114815.1124921-3-dylany@fb.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220422114815.1124921-1-dylany@fb.com> References: <20220422114815.1124921-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: B-0ZqIbioNsj4kYuAc_RGAwEkDsvX6SB X-Proofpoint-GUID: B-0ZqIbioNsj4kYuAc_RGAwEkDsvX6SB 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_03,2022-04-22_01,2022-02-23_01 Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org Do not collide if multiple tests are running at once. Signed-off-by: Dylan Yudaken --- test/accept-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/accept-test.c b/test/accept-test.c index 71d9d80..4a904e4 100644 --- a/test/accept-test.c +++ b/test/accept-test.c @@ -35,7 +35,7 @@ int main(int argc, char *argv[]) =20 memset(&addr, 0, sizeof(addr)); addr.sun_family =3D AF_UNIX; - memcpy(addr.sun_path, "\0sock", 6); + memcpy(addr.sun_path, "\0sock2", 7); =20 ret =3D bind(fd, (struct sockaddr *)&addr, addrlen); assert(ret !=3D -1); --=20 2.30.2