Frans Klaver [off-list ref] writes:
The hello.sh script started with <tab>#!, which is not considered a
correct hash-bang line.
Isn't that exactly the reason why we start the here text with "<<-EOF",
not the usual "<<EOF"?
quoted hunk
required for this specific test.
Signed-off-by: Frans Klaver <redacted>
---
t/t0061-run-command.sh | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/t/t0061-run-command.sh b/t/t0061-run-command.sh
index 8d4938f..95e89bc 100755
--- a/t/t0061-run-command.sh
+++ b/t/t0061-run-command.sh
@@ -8,8 +8,8 @@ test_description='Test run command'
. ./test-lib.sh
cat >hello-script <<-EOF
- #!$SHELL_PATH
- cat hello-script
+#!$SHELL_PATH
+cat hello-script
EOF
>empty