make check-copyright.sh also handle other tests/.../expected/... files

This commit is contained in:
Jacob Lifshay 2026-01-23 12:11:49 -08:00
parent 29757a568c
commit aa07e24c78
Signed by: programmerjake
SSH key fingerprint: SHA256:HnFTLGpSm4Q4Fj502oCFisjZSoakwEuTsJJMSke63RQ

View file

@ -46,7 +46,7 @@ function main()
*/LICENSE.md|*/Notices.txt)
# copyright file
;;
/crates/cpu/tests/expected/*.vcd|/crates/cpu/tests/expected/*.txt)
/crates/cpu/tests*/expected/*.vcd|/crates/cpu/tests*/expected/*.txt)
# file that can't contain copyright header
;;
/.forgejo/workflows/*.yml|*/.gitignore|*/.gitattributes|*.toml)
@ -71,4 +71,4 @@ function main()
done
}
main
main