You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
cd with cdable_vars does not update $PWD (and sets $OLDPWD in the Windows path domain) #392
PWD-after=[/d/.../H04.rubdir] <- NOT updated (still the pre-cd dir)
OLDPWD-after=[D:/repo/rubash-wt-testmaint] <- wrong value AND Windows domain
pwd-cmd=[/d/.../H04.rubdir/h04dest] <- the cd itself worked
The cd succeeded (the pwd builtin reports the new dir) but the $PWD/$OLDPWD parameters were not maintained (and $OLDPWD received a raw D:/… form, off-domain).
Notes
Raw artifacts: target/issue-suites/results/wt33-373/run/H04_cdable_vars_pwd.{gnu,rub}.*.
Test left tracking: tests/executor_command_chaining/part_022.rs test_cdable_vars_uses_variable_as_directory (#[ignore] referencing this issue) — its expectation matches GNU, rubash diverges.
Landed as 1619535 (wt37/gapfix2): redirected cd keeps PWD/OLDPWD live and binds both redirect channels (GNU builtins/cd.def's cdable_vars path maintains the variables across the redirection boundary). issue392 regression suite 6/6; two-shell structure+rc probes byte-identical.
Activity
cd(#392): keep PWD/OLDPWD live for redirected cd; bind both redirect …
caomengxuan666 commentedon Oct 2, 2026
Landed as 1619535 (wt37/gapfix2): redirected cd keeps PWD/OLDPWD live and binds both redirect channels (GNU builtins/cd.def's cdable_vars path maintains the variables across the redirection boundary). issue392 regression suite 6/6; two-shell structure+rc probes byte-identical.
fix(executor): stop memoizing command-lookup misses; validate listing…
ci(windows): run cargo test --lib on the windows lane; prove listing …
fix(executor): memoized command-lookup misses self-heal via the #392 …
Merge pull request #1724 from unixwin/fix/1723-negative-lookup-selfheal