Skip to content

armgit / peel

Public Imported from GitHub
0

Uninstall Mac apps with every file they leave behind, and see why each belongs. Free up space, fine-tune macOS, and set up Terminal.

Say when a test's program ends

Țugui Dragoș7aec9d1c84bb
diff --git a/Packages/PeelCore/Tests/PeelCoreTests/TemporaryDirectory.swift b/Packages/PeelCore/Tests/PeelCoreTests/TemporaryDirectory.swift
index 5589d794..1952a3c5 100644
--- a/Packages/PeelCore/Tests/PeelCoreTests/TemporaryDirectory.swift
+++ b/Packages/PeelCore/Tests/PeelCoreTests/TemporaryDirectory.swift
@@ -81,7 +81,7 @@ struct TemporaryDirectory: ~Copyable {
}()
/// macOS kills a copy of one of its own programs started from anywhere else (a launch constraint), so the copy of
- /// `cat` is signed ad hoc first. It runs until the test ends it or lets go of it.
+ /// `cat` is signed ad hoc first. It runs until the test ends it, or until the suite ends and its input closes.
func runningProgram(_ path: String) throws -> Process {
try runningPrograms([path])[0]
}