We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent edce8ca commit 71e8686Copy full SHA for 71e8686
TestFoundation/TestURL.swift
@@ -340,7 +340,9 @@ class TestURL : XCTestCase {
340
}
341
342
#if os(Android)
343
- FileManager.default.changeCurrentDirectoryPath("/data/local/tmp")
+ if (ProcessInfo.processInfo.environment["PREFIX"]?.hasPrefix("/data/data/com.termux") != true) {
344
+ FileManager.default.changeCurrentDirectoryPath("/data/local/tmp")
345
+ }
346
#endif
347
348
let cwd = FileManager.default.currentDirectoryPath
0 commit comments