Skip to content

Commit

Permalink
selftests: tpm2: create a dedicated .gitignore
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Khaled Elnaggar authored and Shuah Khan committed Apr 8, 2025
1 parent 0af2f6b commit 5cd2950
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion tools/testing/selftests/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ gpiogpio-hammer
gpioinclude/
gpiolsgpio
kselftest_install/
tpm2/SpaceTest.log

# Python bytecode and cache
__pycache__/
Expand Down
3 changes: 3 additions & 0 deletions tools/testing/selftests/tpm2/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# SPDX-License-Identifier: GPL-2.0-only
AsyncTest.log
SpaceTest.log

0 comments on commit 5cd2950

Please sign in to comment.