Skip to content

Look up true on PATH in the symlinked libdir test - #2926

Merged
sylvestre merged 1 commit into
mozilla:mainfrom
badumbatish:fix-test-true-lookup
Oct 22, 2026
Merged

sylvestre merged 1 commit into
mozilla:mainfrom
badumbatish:fix-test-true-lookup

Conversation

@badumbatish

Copy link
Copy Markdown
Contributor

The test copied /bin/true to use as a stand-in rustc binary, but that path does not exist on NixOS, which only provides /bin/sh. Resolve the binary through PATH with the which crate instead.

The test copied /bin/true to use as a stand-in rustc binary, but that
path does not exist on NixOS, which only provides /bin/sh. Resolve the
binary through PATH with the `which` crate instead.
@codecov-commenter

codecov-commenter commented Oct 21, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 78.13%. Comparing base (c2a187d) to head (7a79bb7).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2926   +/-   ##
=======================================
  Coverage   78.13%   78.13%           
=======================================
  Files          74       74           
  Lines       43570    43571    +1     
=======================================
+ Hits        34043    34044    +1     
  Misses       9527     9527           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@sylvestre
sylvestre merged commit 9401ad8 into mozilla:main Oct 22, 2026
51 checks passed
@sylvestre

Copy link
Copy Markdown
Collaborator

Thanks for your PR

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.

3 participants