From 382abe3dafb872b3e6c9792a9cc0abcf6267e180 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Tue, 18 Aug 2026 14:21:38 -0300 Subject: file_watch + builtins + config: richer watch semantics, new builtins, config docs --- test/macos_e2e.swift | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'test/macos_e2e.swift') diff --git a/test/macos_e2e.swift b/test/macos_e2e.swift index 93019403..791dd945 100644 --- a/test/macos_e2e.swift +++ b/test/macos_e2e.swift @@ -917,12 +917,13 @@ private func buildWorld(stem: String) throws -> String { let home = "\(base)/home" let work = "\(base)/cwd" let configHome = "\(home)/.config" + let pardesConfig = "\(configHome)/pardes" // `New` creates its document under TMPDIR (src/temp_file.zig). Left alone // that is the per-user /var/folders/... path launchd hands out, which is // different on every machine and lands verbatim in a pane tag — a golden // that could only ever pass for whoever generated it. let tmp = "\(base)/tmp" - for dir in [base, home, work, configHome, tmp] { + for dir in [base, home, work, configHome, pardesConfig, tmp] { try fm.createDirectory(atPath: dir, withIntermediateDirectories: true) } @@ -933,7 +934,7 @@ private func buildWorld(stem: String) throws -> String { // ...and the config is not empty, because the DEFAULT shell is fish, whose // prompt carries a hostname and whose greeting carries a version. A golden // taken against that is a golden for one machine. - try "Shell bash\n".write(toFile: "\(configHome)/pardes", atomically: true, encoding: .utf8) + try "Shell bash\n".write(toFile: "\(pardesConfig)/init", atomically: true, encoding: .utf8) // The return value is the failure of a memory allocation and nothing else; // there is no recovery worth writing, and a golden taken in a world that -- cgit v1.3