Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows
test: isolate bash PTY tests from the host ~/.bashrc (#3173)
Maximilian Roos2c0a70127a66
diff --git a/tests/integration_tests/shell_wrapper.rs b/tests/integration_tests/shell_wrapper.rsindex e52e491ad..f0499c360 100644--- a/tests/integration_tests/shell_wrapper.rs+++ b/tests/integration_tests/shell_wrapper.rs@@ -445,6 +445,12 @@ fn exec_in_pty_shell(cmd.arg(script);}"bash" => {+ // Isolate from user rc/profile files, mirroring the zsh arm and+ // `exec_bash_truly_interactive`. A no-op for non-interactive+ // `bash -c`, but it keeps interactive (`-i`) startup from sourcing+ // the host's ~/.bashrc and leaking host-specific output.+ cmd.arg("--norc");+ cmd.arg("--noprofile");if interactive {cmd.arg("-i");}