voice wake: use clean PATH (no inherited junk)
This commit is contained in:
@@ -32,7 +32,7 @@ import Testing
|
||||
|
||||
@Test func commandPrefersCliInstallPaths() {
|
||||
let command = VoiceWakeForwarder.commandWithCliPath("clawdis-mac status", target: "user@host")
|
||||
#expect(command.contains("PATH=\(cliHelperSearchPaths.joined(separator: ":")):$PATH"))
|
||||
#expect(command.contains("PATH=\(cliHelperSearchPaths.joined(separator: ":"))"))
|
||||
#expect(command.contains("for c in clawdis-mac /usr/local/bin/clawdis-mac /opt/homebrew/bin/clawdis-mac"))
|
||||
#expect(command.contains("\"$CLI\" status"))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user