Skip to contentSkip to conversation

selftests/tdx: Add .gitignore

PATCH Superseded Anh Tuan Phan 2 participants 3 messages Aug 18, 2023

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 selftests/tdx: Add .gitignore

Add .gitignore to ignore tools/testing/selftests/tdx/tdx_guest_test

---
 tools/testing/selftests/tdx/.gitignore | 2 ++
 1 file changed, 2 insertions(+)
 create mode 100644 tools/testing/selftests/tdx/.gitignore
tools/testing/selftests/tdx/.gitignore new file +2 -0
new file mode 100644
index 000000000000..56dd26b77c07
@@ -0,0 +1,2 @@
+# SPDX-License-Identifier: GPL-2.0-only
+tdx_guest_test
Signature · 1 line
2.34.1
#1 lore raw
Quoted 18 lines · Anh Tuan Phan

Add .gitignore to ignore tools/testing/selftests/tdx/tdx_guest_test

---
 tools/testing/selftests/tdx/.gitignore | 2 ++
 1 file changed, 2 insertions(+)
 create mode 100644 tools/testing/selftests/tdx/.gitignore
tools/testing/selftests/tdx/.gitignore new file +2 -1
new file mode 100644
index 000000000000..56dd26b77c07
@@ -0,0 +1,2 @@
+# SPDX-License-Identifier: GPL-2.0-only
+tdx_guest_test
--
Quoted 2 lines

2.34.1

tools/testing/selftests/kvm/.gitignore recently switched to a positive filter which might be easier to maintain in the future if you add more tests. You might want to consider just using the same .gitignore here.

#2 lore raw
Quoted 10 lines · Sagi Shahar
Quoted 9 lines · Anh Tuan Phan

Add .gitignore to ignore tools/testing/selftests/tdx/tdx_guest_test

---
  tools/testing/selftests/tdx/.gitignore | 2 ++
  1 file changed, 2 insertions(+)

create mode 100644 tools/testing/selftests/tdx/.gitignore

Quoted 15 lines
Quoted 11 lines
tools/testing/selftests/tdx/.gitignore new file +2 -1
new file mode 100644
index 000000000000..56dd26b77c07
@@ -0,0 +1,2 @@
+# SPDX-License-Identifier: GPL-2.0-only
+tdx_guest_test
--

2.34.1

tools/testing/selftests/kvm/.gitignore recently switched to a positive filter which might be easier to maintain in the future if you add more tests. You might want to consider just using the same .gitignore here.

Thanks for the feedback, it looks much more cleaner. I will send a patch v2 with the file copied from tools/testing/selftests/kvm/.gitignore.