]> eyrie.org Git - kerberos/pam-krb5.git/commitdiff
Don't check files ending in *.o for SPDX notices
authorRuss Allbery <eagle@eyrie.org>
Mon, 23 Mar 2020 03:07:43 +0000 (20:07 -0700)
committerRuss Allbery <rra@debian.org>
Sun, 29 Mar 2020 03:50:51 +0000 (20:50 -0700)
This normally isn't an issue because the test skips binary files,
but sometimes object files fool the binary file check, so explicitly
exclude them.

tests/docs/spdx-license-t

index 008d6fbc22a5ead933c0e9cda1e51cd3ffed0e53..d829080da1e7c9a39781e0f72b00070f24f984c9 100755 (executable)
@@ -75,6 +75,7 @@ my @IGNORE_PATHS = (
     qr{ \A python/ .* [.] egg-info/ }xms,      # Python build files
     qr{ \A tests/config/ (?!README) }xms,      # Test configuration
     qr{ [.] l?a \z }xms,                       # Created by libtool
+    qr{ [.] o \z }xms,                         # Compiler objects
 );
 ## use critic