Re: [PATCH v2] selftests: tpm2: create a dedicated .gitignore

Khaled Elnaggar
2025-01-24T14:35:47Z

On 1/23/25 11:47 AM, Jarkko Sakkinen wrote:
> Why?

Sorry I should have included v1 in the thread but I am still
new to the LKML process.

Basically tpm2 selftests have 2 leftover log files after running
(namely AsyncTest.log and SpaceTest.log). Only SpaceTest.log
is in selftests/.gitignore while AsyncTest.log appears untracked
with git status.

To solve this, one could either append AsyncTest.log to
selftests/.gitignore or create a dedicated .gitignore for
the tpm2 subsystem tests. The 2nd approach is better in order
to not clutter selftests/.gitignore and keep tpm2 isolated.

Shuah actually suggested the 2nd approach in reply to v1.

Would you like me to resubmit this patch with a clearer message?
Or include v1 in the thread?

Thanks
Khaled