Skip to content

checktools.sh: fix bashism #140917

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

RalfJung
Copy link
Member

Follow-up to #140903. Turns out tests/{pass,panic} only properly expands in bash, not in dash. :/

r? @WaffleLapkin

@rustbot rustbot added A-testsuite Area: The testsuite used to check the correctness of rustc S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue. labels May 11, 2025
@Noratrieb
Copy link
Member

why do we even have /bin/sh shebangs, we could be free from this suffering with a little bit of /usr/bin/env bash

@RalfJung
Copy link
Member Author

Yeah probably, but that felt like a bigger change.^^

@RalfJung
Copy link
Member Author

All right, this time the tests actually got tested, and it took 54s. I assume that's okay in terms of CI time, but Cc @rust-lang/infra anyway for good measure.

@pietroalbini
Copy link
Member

Yeah that's fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-testsuite Area: The testsuite used to check the correctness of rustc S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants