Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: broken tests and RunTest on windows #348

Merged
merged 1 commit into from
Aug 25, 2024
Merged

Conversation

jabdr
Copy link
Contributor

@jabdr jabdr commented Aug 24, 2024

This fixes all broken tests and RunTest/FTWCheck on windows, by properly closing opened files.

Windows refuses to delete files as long as a file descriptor is open. Closing the temporary files in the tests and closing the log files opened by FTWCheck in RunTest fixes these issues.

Closes #349

Copy link
Member

@fzipi fzipi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks for you contribution!

@jabdr
Copy link
Contributor Author

jabdr commented Aug 25, 2024

FYI: I pushed again to sign the commit, nothing else changed.

@fzipi fzipi merged commit 0a1c2a2 into coreruleset:main Aug 25, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

tests and runner is broken on windows
2 participants