diff options
author | Junio C Hamano <gitster@pobox.com> | 2021-02-09 01:05:55 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-02-09 01:05:55 +0300 |
commit | f20aeed2358eb3a41d187b98dae1c5af731ca21f (patch) | |
tree | 487895a20f23c3954439efe0506415edcd3a6711 | |
parent | 6a7bf0ddb21ad2dd263aa2a5a1a7ab364477c4b9 (diff) | |
parent | 6eaf624dea685f3d61815efeb31d7ff06197330c (diff) |
Merge branch 'pb/blame-funcname-range-userdiff' into maint
Test fix.
* pb/blame-funcname-range-userdiff:
annotate-tests: quote variable expansions containing path names
-rw-r--r-- | t/annotate-tests.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/t/annotate-tests.sh b/t/annotate-tests.sh index 3aee61d2cc..a2e46572d5 100644 --- a/t/annotate-tests.sh +++ b/t/annotate-tests.sh @@ -483,12 +483,12 @@ test_expect_success 'setup -L :funcname with userdiff driver' ' echo "fortran-* diff=fortran" >.gitattributes && fortran_file=fortran-external-function && orig_file="$TEST_DIRECTORY/t4018/$fortran_file" && - cp $orig_file . && - git add $fortran_file && + cp "$orig_file" . && + git add "$fortran_file" && GIT_AUTHOR_NAME="A" GIT_AUTHOR_EMAIL="A@test.git" \ git commit -m "add fortran file" && - sed -e "s/ChangeMe/IWasChanged/" <"$orig_file" >$fortran_file && - git add $fortran_file && + sed -e "s/ChangeMe/IWasChanged/" <"$orig_file" >"$fortran_file" && + git add "$fortran_file" && GIT_AUTHOR_NAME="B" GIT_AUTHOR_EMAIL="B@test.git" \ git commit -m "change fortran file" ' |