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

Use a temp dir for cwd in tests #633

Merged
merged 3 commits into from
Jul 26, 2022

Conversation

ianlewis
Copy link
Member

Running unit tests created a file at internal/utils/existing_file which was left over after tests completed. This PR updates the test to use temporary directory as the current working directory for the tests.

Copy link
Collaborator

@laurentsimon laurentsimon left a comment

Choose a reason for hiding this comment

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

Thanks

@laurentsimon laurentsimon merged commit 7f681d9 into slsa-framework:main Jul 26, 2022
@ianlewis ianlewis deleted the existing_file branch July 27, 2022 01:19
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