commit:     76bada72d2dbcc78d02e4154edb3eb86b6523ee3
Author:     Chris PeBenito <pebenito <AT> ieee <DOT> org>
AuthorDate: Mon Sep 29 14:50:43 2025 +0000
Commit:     Jason Zaman <perfinion <AT> gentoo <DOT> org>
CommitDate: Sun Nov 16 00:22:34 2025 +0000
URL:        
https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=76bada72

check_fc_files.py: Add a version suffix match.

Signed-off-by: Chris PeBenito <pebenito <AT> ieee.org>
Signed-off-by: Jason Zaman <perfinion <AT> gentoo.org>

 testing/check_fc_files.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/testing/check_fc_files.py b/testing/check_fc_files.py
index 7f8a6383a..6617e91a6 100755
--- a/testing/check_fc_files.py
+++ b/testing/check_fc_files.py
@@ -55,6 +55,7 @@ COMMON_FILE_END_PATTERNS = (
     ('[0-9]+', '0'),  # Match at least one digit
     ('(\\.bin)?', ''),  # Match an optional extension
     ('(-.*)?', ''),  # Match an optional suffix with a minus sign
+    ('-[0-9\\.]+', ''),  # Match a version suffix
     ('(-[0-9\\.]+)?', ''), # Match an optional version suffix
 )
 

Reply via email to