mirror of
https://github.com/astral-sh/uv.git
synced 2025-07-14 00:35:00 +00:00
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:
parent
69f1904aeb
commit
21369326ca
2 changed files with 5 additions and 5 deletions
|
@ -292,7 +292,7 @@ mod tests {
|
|||
fs_err::write(
|
||||
path,
|
||||
formatdoc! {r"
|
||||
#!/bin/bash
|
||||
#!/bin/sh
|
||||
echo '{json}'
|
||||
"},
|
||||
)?;
|
||||
|
@ -314,7 +314,7 @@ mod tests {
|
|||
fs_err::write(
|
||||
path,
|
||||
formatdoc! {r"
|
||||
#!/bin/bash
|
||||
#!/bin/sh
|
||||
echo '{output}' 1>&2
|
||||
"},
|
||||
)?;
|
||||
|
@ -535,7 +535,7 @@ mod tests {
|
|||
fs_err::write(
|
||||
children[0].join(format!("python{}", env::consts::EXE_SUFFIX)),
|
||||
formatdoc! {r"
|
||||
#!/bin/bash
|
||||
#!/bin/sh
|
||||
echo 'foo'
|
||||
"},
|
||||
)?;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue