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 559D1C433EF for ; Fri, 22 Apr 2022 11:48:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1447164AbiDVLvj (ORCPT ); Fri, 22 Apr 2022 07:51:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51962 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1447156AbiDVLvi (ORCPT ); Fri, 22 Apr 2022 07:51:38 -0400 Received: from mx0a-00082601.pphosted.com (mx0a-00082601.pphosted.com [67.231.145.42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A6D6E56411 for ; Fri, 22 Apr 2022 04:48:44 -0700 (PDT) Received: from pps.filterd (m0148461.ppops.net [127.0.0.1]) by mx0a-00082601.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 23LNWeGs008630 for ; Fri, 22 Apr 2022 04:48:44 -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=61DgPiGwxtBLKnIeSfHJk3Nr9/xzhaRwE1gmUZyX6NU=; b=Sod4kJ/lmq+6O/PYz93+aJnHpiufbzEO41N3uyCSBPFNaCdXU6TlRJtDhGGQy+FKVz6C bKq/8LFYvjvMnODS1/1bm/ZH8sDC9QOMgQbMrqVV9guwatjMvs4wQ8PaeQ25LkKvtdUw FJNJuP8eyOjbREpYUFEYTc5hsW/bWOmxAYs= Received: from mail.thefacebook.com ([163.114.132.120]) by mx0a-00082601.pphosted.com (PPS) with ESMTPS id 3fka366j1w-4 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Fri, 22 Apr 2022 04:48:44 -0700 Received: from twshared14141.02.ash7.facebook.com (2620:10d:c085:108::4) by mail.thefacebook.com (2620:10d:c085:21d::5) 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:43 -0700 Received: by devbig039.lla1.facebook.com (Postfix, from userid 572232) id 9FA8D7DC56B7; Fri, 22 Apr 2022 04:48:31 -0700 (PDT) From: Dylan Yudaken To: CC: , , , Dylan Yudaken Subject: [PATCH liburing 5/7] test: mkdir -p output folder Date: Fri, 22 Apr 2022 04:48:13 -0700 Message-ID: <20220422114815.1124921-6-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: Fb1RjbL701N6AtlU5_qb8f-3WG5qNtjI X-Proofpoint-GUID: Fb1RjbL701N6AtlU5_qb8f-3WG5qNtjI 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 In case multiple mkdir are running at once, do not log an error if it exists due to a race condition. Signed-off-by: Dylan Yudaken --- test/runtests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/runtests.sh b/test/runtests.sh index 122e482..6d8f7af 100755 --- a/test/runtests.sh +++ b/test/runtests.sh @@ -139,7 +139,7 @@ run_test() # Run all specified tests for tst in "${TESTS[@]}"; do if [ ! -d output ]; then - mkdir output + mkdir -p output fi if [ -z "${TEST_MAP[$tst]}" ]; then run_test "$tst" --=20 2.30.2