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: Append hash to generated file names to avoid conflicts on case-insensitive filesystems #9

Merged
merged 3 commits into from
Nov 16, 2023

Conversation

cfxegbert
Copy link
Contributor

@cfxegbert cfxegbert commented Nov 15, 2023

The default filesystem on MacOS is case-insensitive but has case preserving file names. If the test generation has arguments that just differ in case a case-insensitive file name conflict may happen. This fix appends a hash to the generated file name to make them unique.

Fixes issue #10

Copy link
Member

@cafkafk cafkafk left a comment

Choose a reason for hiding this comment

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

Changed it to just use the hash as a name, and tried it out on eza in eza-community/eza#663

@cafkafk cafkafk merged commit 55ea938 into eza-community:main Nov 16, 2023
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.

2 participants