Frans Klaver <fransklaver@xxxxxxxxx> 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"? > required for this specific test. > > Signed-off-by: Frans Klaver <fransklaver@xxxxxxxxx> > --- > 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 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html