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

Tests: standardize both sides of the URL #670

Merged
merged 1 commit into from Jul 26, 2023
Merged

Conversation

compnerd
Copy link
Collaborator

When testing with a rebound volume mount (i.e. using subst on Windows), the paths are compared without canonicalisation for the rebound path. This causes a test failure as although the paths are logically equivalent, they are not physically equivalent. The standardizedPath here ensures that we resolve the junction allowing the path comparison to succeed.

@compnerd
Copy link
Collaborator Author

@swift-ci please test

Copy link
Contributor

@d-ronnqvist d-ronnqvist left a comment

Choose a reason for hiding this comment

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

LGTM

When testing with a rebound volume mount (i.e. using `subst` on
Windows), the paths are compared without canonicalisation for the
rebound path.  This causes a test failure as although the paths are
logically equivalent, they are not physically equivalent.  The
`standardizedPath` here ensures that we resolve the junction allowing
the path comparison to succeed.
@compnerd
Copy link
Collaborator Author

@swift-ci please test

@compnerd compnerd merged commit c4ad5b8 into apple:main Jul 26, 2023
2 checks passed
@compnerd compnerd deleted the standards branch July 26, 2023 23:07
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.

None yet

2 participants