diff options
author | Denton Liu <liu.denton@gmail.com> | 2019-09-06 00:10:05 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-09-06 20:10:36 +0200 |
commit | bd482d6e3348fe369b3b1db2dadbca278a0f0025 (patch) | |
tree | baba73254541c919d66fbedc1481191fcbaffbcf /t/t5601-clone.sh | |
parent | First batch after Git 2.23 (diff) | |
download | git-bd482d6e3348fe369b3b1db2dadbca278a0f0025.tar.xz git-bd482d6e3348fe369b3b1db2dadbca278a0f0025.zip |
t: use common $SQ variable
In many test scripts, there are bespoke definitions of the single quote
that are some variation of this:
SQ="'"
Define a common $SQ variable in test-lib.sh and replace all usages of
these bespoke variables with the common one.
This change was done by running `git grep =\"\'\" t/` and
`git grep =\\\\\'` and manually changing the resulting definitions and
corresponding usages.
Signed-off-by: Denton Liu <liu.denton@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5601-clone.sh')
-rwxr-xr-x | t/t5601-clone.sh | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/t/t5601-clone.sh b/t/t5601-clone.sh index 4a3b901f06..3be025a658 100755 --- a/t/t5601-clone.sh +++ b/t/t5601-clone.sh @@ -434,7 +434,6 @@ test_expect_success 'double quoted plink.exe in GIT_SSH_COMMAND' ' expect_ssh "-v -P 123" myhost src ' -SQ="'" test_expect_success 'single quoted plink.exe in GIT_SSH_COMMAND' ' copy_ssh_wrapper_as "$TRASH_DIRECTORY/plink.exe" && GIT_SSH_COMMAND="$SQ$TRASH_DIRECTORY/plink.exe$SQ -v" \ |