]> git.ipfire.org Git - thirdparty/shadow.git/commitdiff
tests/unit: improve .gitignore to ignore all test executables master
authorIker Pedrosa <ipedrosa@redhat.com>
Wed, 11 Feb 2026 09:12:17 +0000 (10:12 +0100)
committerAlejandro Colomar <foss+github@alejandro-colomar.es>
Thu, 12 Feb 2026 14:15:59 +0000 (15:15 +0100)
Replace specific test file entries with pattern-based ignoring of all
test_* executables while preserving test_*.c source files.

Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
tests/unit/.gitignore

index f331069eae5b898e84a0997952ca0331e6637bc8..c7bacf861a0b557234c99f2de8bf9d5a386b195d 100644 (file)
@@ -2,5 +2,6 @@
 *.log
 *.trs
 
-# Specific files to be added each time a new file is included
-test_logind
\ No newline at end of file
+# All test executables
+test_*
+!test_*.c