mirror of
https://github.com/izzy2lost/nix.git
synced 2026-03-10 12:35:57 -07:00
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.
(cherry picked from commit 77a8386022)
# Conflicts:
# tests/functional/git-hashing/fixed.sh
This commit is contained in:
8
tests/functional/git-hashing/fixed.sh
Executable file
8
tests/functional/git-hashing/fixed.sh
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
source common.sh
|
||||
|
||||
# Store layer needs bugfix
|
||||
requireDaemonNewerThan "2.27pre20250122"
|
||||
|
||||
nix-build ../fixed.nix -A git --no-out-link
|
||||
2
tests/functional/git-hashing/simple.sh
Normal file → Executable file
2
tests/functional/git-hashing/simple.sh
Normal file → Executable file
@@ -1,3 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
source common.sh
|
||||
|
||||
repo="$TEST_ROOT/scratch"
|
||||
|
||||
Reference in New Issue
Block a user