From patchwork Tue Aug 6 14:14:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Patrick Steinhardt X-Patchwork-Id: 13754951 Received: from fhigh7-smtp.messagingengine.com (fhigh7-smtp.messagingengine.com [103.168.172.158]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 95C3018D630 for ; Tue, 6 Aug 2024 14:14:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=103.168.172.158 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722953691; cv=none; b=uJddZQDR/wEpRjhxAUryXoYG3acigVhXnK76Ov23NSBATo4ylH/P1M7X24foEI6gbMPRCPxoEe7AlZnuVqY9UeqmDp1BWzO/SQSM47rr+hk51qoPauwBgBCKiO3DndP1FncKOJX9O+lZlHN8GWzUqd56tUIcqTQjcIMLiLRqTdc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722953691; c=relaxed/simple; bh=pDMoWw9PjqtMynckR+PN4XbHrQa6sX3eiNPQMYOsEHg=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ralQl4sk9qFobPH0xz95yDKVrc2SMGpFhZa4TaVwgfbXtgy77Z4/NnulBQGl7fzyw7oOamhb6KDA6DEI6ew7ByroBSucMEmZtSGA+IHAhKnwm0QHgOe0mXq95g87BpAIJYNq0tSABh0WXDhwCN6/zlkE+bCTYA/mynASIKCd4BY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=pks.im; spf=pass smtp.mailfrom=pks.im; dkim=pass (2048-bit key) header.d=pks.im header.i=@pks.im header.b=aQ9CXm7o; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=OQZ2P9cS; arc=none smtp.client-ip=103.168.172.158 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=pks.im Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pks.im Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=pks.im header.i=@pks.im header.b="aQ9CXm7o"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="OQZ2P9cS" Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailfhigh.nyi.internal (Postfix) with ESMTP id A0FC71150DE1; Tue, 6 Aug 2024 10:14:48 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Tue, 06 Aug 2024 10:14:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pks.im; h=cc:cc :content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm3; t=1722953688; x=1723040088; bh=qYMQLJ5obz MTtm+TUnMZ6j7toLN++flW+ZevZAGu3RQ=; b=aQ9CXm7ogXvDY6jw/9S6Hqr38r FRS4JYnJkiL0OEHgJ2A9yvTfoTNYOoCwHGnMDRwJ6VAsOOxdTVYeY/6lWhGhaHa2 a1lGbx3B3hcv9G7yyfo4mwUWsQt8tViMJWj9XV26Fj9ezgpqOoV54sPr2jyzXBkj CrNUYYiNbSP+fyDsgHjctijPz2jKSzE/1izBMLCHETc7aLW2OfFyJ4vT3uMDk8RT Bg35NgFU8XklqHq79ejrA2H5eBKRHeptEBh7xkM8lRyAufG90hV55QROSZu6wYub K9b/fYqcs57rqIzIA4BEQwJsAkVy9X8vqGZFUSJXmcpLURv+skBShrxXyhmA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; t=1722953688; x=1723040088; bh=qYMQLJ5obzMTtm+TUnMZ6j7toLN+ +flW+ZevZAGu3RQ=; b=OQZ2P9cSySMnBRif0ahFQTiJpOVURjfp98dNvszZnVGB Cqy3+L5AcmIR8ZiNnmj8ISYFkCZQ0LqnDdU2bCUB1IMi7Z4klykWqopt4T1jg6yj V0T3vfoYf1ayhlz/jOynMeJejIDv6Ljkwi+eqImSeji/tV7O6yLAr65KYM+2+rHr p6bYjGGu53MIcHv+1L53YEiToHtkx4XwoduAtuKpX7uToPxXyvVhkgQMwo54iNsB gohoxlkGR6CxZSbKD2QVABA8wH0v3Ke/GUzCyQASxDArhuqN8dRINNyt1XL3ooYb 9cmLUgV8GRgmekhZLTOJ4tYBVK9AkyxfdPLGO9dWpA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrkeekgdejgecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvvefukfhfgggtuggjsehgtderredttddvnecuhfhrohhmpefrrghtrhhi tghkucfuthgvihhnhhgrrhguthcuoehpshesphhkshdrihhmqeenucggtffrrghtthgvrh hnpeeljeetffevheeggeetkeetieduieeiieegieegtdffheegkefhjeehfeekhfevleen ucffohhmrghinhepghhithhhuhgsrdgtohhmnecuvehluhhsthgvrhfuihiivgeptdenuc frrghrrghmpehmrghilhhfrhhomhepphhssehpkhhsrdhimhdpnhgspghrtghpthhtohep td X-ME-Proxy: Feedback-ID: i197146af:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 6 Aug 2024 10:14:46 -0400 (EDT) Received: by vm-mail (OpenSMTPD) with ESMTPSA id 81cf0c11 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Tue, 6 Aug 2024 14:14:43 +0000 (UTC) Date: Tue, 6 Aug 2024 16:14:44 +0200 From: Patrick Steinhardt To: git@vger.kernel.org Cc: =?utf-8?b?UmVuw6k=?= Scharfe , Junio C Hamano , Kyle Lippincott , Phillip Wood , Josh Steadmon , rsbecker@nexbridge.com, Edward Thomson Subject: [RFC PATCH v2 3/7] t/clar: fix whitespace errors Message-ID: References: Precedence: bulk X-Mailing-List: git@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Fix whitespace errors in the clar that make git-apply(1) unhappy. This has been cherry-picked from the upstream pull request at [1]. [1]: https://github.com/clar-test/clar/pull/97 Signed-off-by: Patrick Steinhardt --- t/unit-tests/clar/clar/sandbox.h | 5 ++--- t/unit-tests/clar/generate.py | 1 - t/unit-tests/clar/test/.gitignore | 1 - 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/t/unit-tests/clar/clar/sandbox.h b/t/unit-tests/clar/clar/sandbox.h index 0ba1479620..7c177f3525 100644 --- a/t/unit-tests/clar/clar/sandbox.h +++ b/t/unit-tests/clar/clar/sandbox.h @@ -25,9 +25,9 @@ find_tmp_path(char *buffer, size_t length) static const size_t var_count = 5; static const char *env_vars[] = { "CLAR_TMP", "TMPDIR", "TMP", "TEMP", "USERPROFILE" - }; + }; - size_t i; + size_t i; for (i = 0; i < var_count; ++i) { const char *env = getenv(env_vars[i]); @@ -151,4 +151,3 @@ const char *clar_sandbox_path(void) { return _clar_path; } - diff --git a/t/unit-tests/clar/generate.py b/t/unit-tests/clar/generate.py index 931b4d60d9..80996ac3e7 100755 --- a/t/unit-tests/clar/generate.py +++ b/t/unit-tests/clar/generate.py @@ -264,4 +264,3 @@ def write(self): suite.disable(options.excluded) if suite.write(): print("Written `clar.suite` (%d tests in %d suites)" % (suite.callback_count(), suite.suite_count())) - diff --git a/t/unit-tests/clar/test/.gitignore b/t/unit-tests/clar/test/.gitignore index 3e8ae0a3a5..a477d0c40c 100644 --- a/t/unit-tests/clar/test/.gitignore +++ b/t/unit-tests/clar/test/.gitignore @@ -2,4 +2,3 @@ clar.suite .clarcache clar_test *.o -