summaryrefslogtreecommitdiff
path: root/test/macos_e2e.swift
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-09-29 02:23:59 -0300
committerGabriel Schneider <[email protected]>2026-10-01 00:12:15 -0300
commit45a66bd1c062a5cf4d63b1df68e050b059cdfa1d (patch)
tree3c6ecbd21dd2d07c624b8799defc31d94d51a256 /test/macos_e2e.swift
parent90f5c414a90afec978c8c0add58fd2a7e29acbaa (diff)
downloadpardes-45a66bd1c062a5cf4d63b1df68e050b059cdfa1d.tar.gz
pardes-45a66bd1c062a5cf4d63b1df68e050b059cdfa1d.zip
The default Shell is $SHELL, else /bin/sh
With no Shell set, pardes ran fish, which a box may not have and a user may not use. The default is now the user's login shell ($SHELL), else /bin/sh; an explicit Shell still overrides it. The tests pin their own shell (snapshots bash, the python suites /bin/sh or bash) and pass with SHELL unset; the Config report and docs say where the default comes from. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'test/macos_e2e.swift')
-rw-r--r--test/macos_e2e.swift2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/macos_e2e.swift b/test/macos_e2e.swift
index 5f172f9d..2b0eedad 100644
--- a/test/macos_e2e.swift
+++ b/test/macos_e2e.swift
@@ -1251,7 +1251,7 @@ private func buildWorld(stem: String) throws -> String {
// sources $HOME/.bashrc (host_io.Shell) — so this is what pins the
// prompt to `$ ` and keeps the developer's history out of the capture.
try "PS1='$ '\nHISTFILE=\n".write(toFile: "\(home)/.bashrc", atomically: true, encoding: .utf8)
- // ...and the config is not empty, because the DEFAULT shell is fish, whose
+ // ...and the config is not empty, because the DEFAULT shell is $SHELL (fish, say), 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: "\(pardesConfig)/init", atomically: true, encoding: .utf8)