[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <D7C5BT3H2UW1.1FE9LG8GKH51U@kernel.org>
Date: Sun, 26 Jan 2025 18:30:09 +0200
From: "Jarkko Sakkinen" <jarkko@...nel.org>
To: "Khaled Elnaggar" <khaledelnaggarlinux@...il.com>, <shuah@...nel.org>,
<peterhuewe@....de>, <jgg@...pe.ca>
Cc: <linux-kernel@...r.kernel.org>, <linux-kselftest@...r.kernel.org>,
<linux-integrity@...r.kernel.org>
Subject: Re: [PATCH v3] selftests: tpm2: create a dedicated .gitignore
On Sun Jan 26, 2025 at 4:22 PM EET, Khaled Elnaggar wrote:
> The tpm2 selftests produce two logs: SpaceTest.log and
> AsyncTest.log. Only SpaceTest.log was listed in selftests/.gitignore,
> while AsyncTest.log remained untracked.
>
> This change creates a dedicated .gitignore in the tpm2/ directory to
> manage these entries, keeping tpm2-specific patterns isolated from
> parent .gitignore.
>
> Signed-off-by: Khaled Elnaggar <khaledelnaggarlinux@...il.com>
> ---
> Hello, please let me if you have comments on anything.
>
> Thanks,
> Khaled
>
> Changes:
> v3: Improve commit message
> v2: Created a dedicated .gitignore
> v1: https://lore.kernel.org/linux-kselftest/20250116085929.313677-1-eng.khaled.elnaggar@gmail.com
> ---
> tools/testing/selftests/.gitignore | 1 -
> tools/testing/selftests/tpm2/.gitignore | 4 ++++
> 2 files changed, 4 insertions(+), 1 deletion(-)
> create mode 100644 tools/testing/selftests/tpm2/.gitignore
>
> diff --git a/tools/testing/selftests/.gitignore b/tools/testing/selftests/.gitignore
> index cb24124ac5b9..674aaa02e396 100644
> --- a/tools/testing/selftests/.gitignore
> +++ b/tools/testing/selftests/.gitignore
> @@ -4,7 +4,6 @@ gpiogpio-hammer
> gpioinclude/
> gpiolsgpio
> kselftest_install/
> -tpm2/SpaceTest.log
>
> # Python bytecode and cache
> __pycache__/
> diff --git a/tools/testing/selftests/tpm2/.gitignore b/tools/testing/selftests/tpm2/.gitignore
> new file mode 100644
> index 000000000000..917fe0065467
> --- /dev/null
> +++ b/tools/testing/selftests/tpm2/.gitignore
> @@ -0,0 +1,4 @@
> +# SPDX-License-Identifier: GPL-2.0-only
> +tpm2/AsyncTest.log
> +tpm2/SpaceTest.log
> +
> --
> 2.45.2
Acked-by: Jarkko Sakkinen <jarkko@...nel.org>
BR, Jarkko
Powered by blists - more mailing lists