Skip to content

Commit 0e1320c

Browse files
committed
Place the profile check in a different location
1 parent a54826c commit 0e1320c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Tests/SwiftlyTests/E2ETests.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,16 +86,16 @@ final class E2ETests: SwiftlyTests {
8686

8787
let shell = try await Swiftly.currentPlatform.getShell()
8888

89+
// TODO remove this
90+
print("CHECKING /root/.profile")
91+
try Swiftly.currentPlatform.runProgram("cat", "/root/.profile")
92+
8993
try Swiftly.currentPlatform.runProgram(shell, "-l", "-c", "swiftly install --assume-yes latest --post-install-file=./post-install.sh")
9094

9195
if FileManager.default.fileExists(atPath: "./post-install.sh") {
9296
try Swiftly.currentPlatform.runProgram(shell, "./post-install.sh")
9397
}
9498

95-
// TODO remove this
96-
print("CHECKING /root/.profile")
97-
try Swiftly.currentPlatform.runProgram("cat", "/root/.profile")
98-
9999
try Swiftly.currentPlatform.runProgram(shell, "-l", "-c", "swift --version", quiet: false)
100100
}
101101
}

0 commit comments

Comments
 (0)