[tests] test-license.py exclusion fails on Windows
Open
- Dominant language
- C
- Stars
- 27.9k
- Forks
- 2.6k
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 8
Description
tests/test-license.py builds absolute directory strings with a hard-coded slash suffix. On Windows, glob returns backslash paths, so the intended contrib/linux-kernel/test/include exclusion does not match and the license test reports xxhash.h and unaligned.h as failures. Reproduced on the dev branch with Python 3.13; using os.sep for the suffix makes the same test pass while preserving POSIX behavior. The focused fix is in PR branch codex/fix-license-test-windows.
Contributor guide
Assessment
This issue has not been assessed yet.