]> www.infradead.org Git - users/hch/misc.git/commitdiff
selftests: tpm2: create a dedicated .gitignore
authorKhaled Elnaggar <khaledelnaggarlinux@gmail.com>
Sun, 26 Jan 2025 19:51:33 +0000 (21:51 +0200)
committerShuah Khan <skhan@linuxfoundation.org>
Tue, 8 Apr 2025 20:56:13 +0000 (14:56 -0600)
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>
tools/testing/selftests/.gitignore
tools/testing/selftests/tpm2/.gitignore [new file with mode: 0644]

index cb24124ac5b98e2773e7cce14921b81bcb7111a6..674aaa02e396649fcc70503986865d4819859a9e 100644 (file)
@@ -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 (file)
index 0000000..6d6165c
--- /dev/null
@@ -0,0 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0-only
+AsyncTest.log
+SpaceTest.log