Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Mark test scripts with Bash'isms to be run via Bash
In #1369, I mistakenly replaced the hash-bang lines in the two new
scripts with `#!/bin/sh`, missing that both files contain the Bash'ism
`[[`. Symptom as per
https://github.com/actions/checkout/actions/runs/5200323109/jobs/9378889172?pr=1369#step:12:5

    __test__/verify-sparse-checkout.sh: 58: [[: not found

Let's change those hash-bang lines back to `#!/bin/bash`.

Signed-off-by: Johannes Schindelin <[email protected]>
  • Loading branch information
dscho committed Jun 9, 2023
commit 1e3e69ab97eee5a599eca9c55b8374598ce441b6
2 changes: 1 addition & 1 deletion __test__/verify-sparse-checkout-non-cone-mode.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash

# Verify .git folder
if [ ! -d "./sparse-checkout-non-cone-mode/.git" ]; then
Expand Down
2 changes: 1 addition & 1 deletion __test__/verify-sparse-checkout.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash

# Verify .git folder
if [ ! -d "./sparse-checkout/.git" ]; then
Expand Down