Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Khaled Elnaggar and committed by
Shuah Khan
5cd29503 0af2f6be

+3 -1
-1
tools/testing/selftests/.gitignore
··· 4 4 gpioinclude/ 5 5 gpiolsgpio 6 6 kselftest_install/ 7 - tpm2/SpaceTest.log 8 7 9 8 # Python bytecode and cache 10 9 __pycache__/
+3
tools/testing/selftests/tpm2/.gitignore
··· 1 + # SPDX-License-Identifier: GPL-2.0-only 2 + AsyncTest.log 3 + SpaceTest.log