selftests: Add missing generated files to .gitignore
Subsystems (4)
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.
Signed-off-by Zenghui Yu <[email protected]>
---
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
@@ -0,0 +1,2 @@ +# SPDX-License-Identifier: GPL-2.0-only +allocinfo_ioctl_test
tools/testing/selftests/coredump/.gitignore +2 -0
@@ -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
@@ -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
@@ -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
@@ -0,0 +1,3 @@ +# SPDX-License-Identifier: GPL-2.0-only +nommu_mmap_test +nommu_mremap_test
Signature · 1 line
2.56.0