uv-python tests: Use #!/bin/sh instead of #!/bin/bash (#11292)

NixOS has (and POSIX mandates) a /bin/sh but not a /bin/bash, so this
fixes tests on NixOS.
This commit is contained in:
Geoffrey Thomas 2025-02-07 10:42:33 -05:00 committed by GitHub
parent 69f1904aeb
commit 21369326ca
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 5 deletions

View file

@ -1090,7 +1090,7 @@ mod tests {
fs::write(
&mocked_interpreter,
formatdoc! {r"
#!/bin/bash
#!/bin/sh
echo '{json}'
"},
)
@ -1109,7 +1109,7 @@ mod tests {
fs::write(
&mocked_interpreter,
formatdoc! {r"
#!/bin/bash
#!/bin/sh
echo '{}'
", json.replace("3.12", "3.13")},
)