]> git.ipfire.org Git - thirdparty/git.git/commit
t: local VAR="VAL" (quote command substitution)
authorJunio C Hamano <gitster@pobox.com>
Sat, 6 Apr 2024 00:09:00 +0000 (17:09 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sat, 6 Apr 2024 05:50:10 +0000 (22:50 -0700)
commit7f9f230b7fcc1bfeb352216930f704075bca713d
treeab2ac4c0b265bfb8839954886db1640a85177839
parent341aad8d41ca8321d826e1ce012e4faf1a8be2a4
t: local VAR="VAL" (quote command substitution)

Future-proof test scripts that do

local VAR=VAL

without quoting VAL (which is OK in POSIX but broken in some shells)
that is a $(command substitution).

Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t4011-diff-symlink.sh
t/test-lib-functions.sh