Skip to contentSkip to conversation

selftests: Add missing generated files to .gitignore

PATCH New Zenghui Yu 1 participant 1 message Nov 8

Subsystems (4)
lore
Share & tools
lore

Zenghui Yu

author
#0 lore raw

PATCH 1/1 selftests: Add missing generated files to .gitignore

Add .gitignore entries for test binaries that are generated during a build but leave git status dirty, and add the missing .gitignore files for the alloc_tag and nommu directories.

---

These are all trivial one-liner changes, so I have folded them into a single patch. Please let me know if you would prefer it to be split.

 tools/testing/selftests/alloc_tag/.gitignore  | 2 ++
 tools/testing/selftests/coredump/.gitignore   | 2 ++
 tools/testing/selftests/exec/.gitignore       | 4 ++++
 tools/testing/selftests/membarrier/.gitignore | 1 +
 tools/testing/selftests/nommu/.gitignore      | 3 +++
 5 files changed, 12 insertions(+)
 create mode 100644 tools/testing/selftests/alloc_tag/.gitignore
 create mode 100644 tools/testing/selftests/nommu/.gitignore
tools/testing/selftests/alloc_tag/.gitignore new file +2 -0
new file mode 100644
index 000000000000..30fa3b6712c0
@@ -0,0 +1,2 @@
+# SPDX-License-Identifier: GPL-2.0-only
+allocinfo_ioctl_test
tools/testing/selftests/coredump/.gitignore +2 -0
index e32f6e9006f6..6a9460c4450f 100644
@@ -4,3 +4,5 @@ coredump_socket_test
 coredump_socket_protocol_test
 coredump_signal_test
 coredump_worker_test
+coredump_notify_signal_helper
+coredump_notify_signal_test
tools/testing/selftests/exec/.gitignore +4 -0
index e42ecd4c908d..d39df26e5cf9 100644
@@ -28,5 +28,9 @@ binfmt_transparent_interp
 binfmt_misc_loader
 binfmt_loader_payload
 binfmt_loader_payload_static
+binfmt_bind_interp
+binfmt_misc_delim
+binfmt_misc_disabled
+binfmt_misc_selfpin
 *.bpf.o
 vmlinux.h
tools/testing/selftests/membarrier/.gitignore +1 -0
index f2fbba178601..031920478205 100644
@@ -1,3 +1,4 @@
 # SPDX-License-Identifier: GPL-2.0-only
 membarrier_test_multi_thread
 membarrier_test_single_thread
+membarrier_rseq_stress
tools/testing/selftests/nommu/.gitignore new file +3 -0
new file mode 100644
index 000000000000..37da7c4765cd
@@ -0,0 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0-only
+nommu_mmap_test
+nommu_mremap_test
Signature · 1 line
2.56.0