Building the filelock selftest produces the ofdlocks binary in the
source directory, which then shows up as an untracked file in git
status.  Add a .gitignore so the generated program is ignored, as is
already done for other selftests.

Signed-off-by: Masaharu Noguchi <[email protected]>
---
 tools/testing/selftests/filelock/.gitignore | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tools/testing/selftests/filelock/.gitignore 
b/tools/testing/selftests/filelock/.gitignore
new file mode 100644
index 000000000000..665b62bfa2b2
--- /dev/null
+++ b/tools/testing/selftests/filelock/.gitignore
@@ -0,0 +1,2 @@
+# SPDX-License-Identifier: GPL-2.0-only
+ofdlocks

---
base-commit: 1a3746ccbb0a97bed3c06ccde6b880013b1dddc1
change-id: 20260621-selftests-filelock-gitignore-f78e160f77c1

Best regards,
-- 
Masaharu Noguchi <[email protected]>


Reply via email to