diff options
| author | Gabriel Schneider <[email protected]> | 2026-08-18 14:21:38 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-08-18 23:45:30 -0300 |
| commit | 382abe3dafb872b3e6c9792a9cc0abcf6267e180 (patch) | |
| tree | e30f47d911561db9b02e714287a1658822c77a09 /test/macos_e2e.swift | |
| parent | c24a9e40215bc30c68c9db7675f1c6a07d9bbae3 (diff) | |
| download | pardes-382abe3dafb872b3e6c9792a9cc0abcf6267e180.tar.gz pardes-382abe3dafb872b3e6c9792a9cc0abcf6267e180.zip | |
file_watch + builtins + config: richer watch semantics, new builtins, config docs
Diffstat (limited to 'test/macos_e2e.swift')
| -rw-r--r-- | test/macos_e2e.swift | 5 |
1 files changed, 3 insertions, 2 deletions
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 |
