Skip to content

fix(tests): hermetic HOME, real paths, last-prompt match in pb10k tests - #740

Merged
caomengxuan666 merged 2 commits into
masterfrom
fix/pb10k-hermetic-home
Oct 17, 2026
Merged

caomengxuan666 merged 2 commits into
masterfrom
fix/pb10k-hermetic-home

Conversation

@caomengxuan666

Copy link
Copy Markdown
Member

Test-only, three host dependencies: (1) empty temp HOME per run (themed ~/.bashrc overrode PS1); (2) deep dirtrim dir uses the real temp path (/c-anchored cannot exist off Windows); (3) post-cd prompt is the LAST matching line (startup prompt trims on deep checkouts). 2/2 green on Android. CI runs the standard checks.

run_stdin inherited the developer HOME: a themed ~/.bashrc overrode
the default prompt under test. Empty temp HOME per run. The # mark
is euid-dependent (correct post-#698): calibrate per host via
geteuid (unix) instead of pinning root.

8/8 green on Android.
Empty temp HOME per run (themed ~/.bashrc overrode PS1); deep dir
uses the real temp path (/c-anchored cannot exist off Windows);
post-cd prompt is the LAST matching line (startup prompt trims on
deep checkouts). 2/2 green on Android.
@caomengxuan666
caomengxuan666 merged commit da8a2ba into master Oct 17, 2026
8 checks passed
@caomengxuan666
caomengxuan666 deleted the fix/pb10k-hermetic-home branch October 17, 2026 04:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant