test: Fix shellcheck by giving git-hashing scripts shebangs

This seems to be the way to do it now, even though I can't run them
without setting at least one env var.
I'll only fix shellcheck for now. Don't shoot the messenger.

It isn't quite clear to me why the previous commit masked this problem,
but I'm glad shellcheck has an effect or more effect now.
This commit is contained in:
Robert Hensing 2025-01-29 21:53:12 +01:00
parent 73060b4972
commit 77a8386022
2 changed files with 2 additions and 0 deletions

0
tests/functional/git-hashing/fixed.sh Normal file → Executable file
View File

2
tests/functional/git-hashing/simple.sh Normal file → Executable file
View File

@ -1,3 +1,5 @@
#!/usr/bin/env bash
source common.sh
repo="$TEST_ROOT/scratch"