selftests: tpm2: create a dedicated .gitignore

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.

Fixed white-space errors during commit
Shuah Khan <skhan@linuxfoundation.org>

Link: https://lore.kernel.org/r/20250126195147.902608-1-khaledelnaggarlinux@gmail.com
Signed-off-by: Khaled Elnaggar <khaledelnaggarlinux@gmail.com>
Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
This commit is contained in:
Khaled Elnaggar 2025-01-26 21:51:33 +02:00 committed by Shuah Khan
parent 0af2f6be1b
commit 5cd2950359
2 changed files with 3 additions and 1 deletions

View File

@ -4,7 +4,6 @@ gpiogpio-hammer
gpioinclude/
gpiolsgpio
kselftest_install/
tpm2/SpaceTest.log
# Python bytecode and cache
__pycache__/

View File

@ -0,0 +1,3 @@
# SPDX-License-Identifier: GPL-2.0-only
AsyncTest.log
SpaceTest.log