Skip to content

Conversation

tristanlabelle
Copy link
Contributor

test_multiProcesses was failing in the Windows build when running under a substitute drive (mapping S: to C:\foo\bar) because it was expecting equality between FileManager.default.currentDirectoryPath and FileManager.default.currentDirectoryPath.standardizePath(), the latter of which resolves substitute drives.

See xdgTestHelper's --getcwd:
https://github.com/apple/swift-corelibs-foundation/blob/5c1d6f67642ad7ce0d94b657bdb8a268fd18e570/Tests/Tools/XDGTestHelper/main.swift#L229

A different test, test_pipe_stdout was already doing this comparison properly:
https://github.com/apple/swift-corelibs-foundation/blob/5c1d6f67642ad7ce0d94b657bdb8a268fd18e570/Tests/Foundation/Tests/TestProcess.swift#L126

@compnerd
Copy link
Member

@swift-ci please test

@compnerd compnerd merged commit 0ebc5e5 into swiftlang:main Mar 21, 2023
@tristanlabelle tristanlabelle deleted the fix-test_multiProcesses-on-Windows branch March 21, 2023 20:44
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