t/t3403-rebase-skip.sh: use the $( ... ) construct for command substitution

The Git CodingGuidelines prefer the $(...) construct for command substitution instead of using the backquotes `...`. The backquoted form is the traditional method for command substitution, and is supported by POSIX. However, all but the simplest uses become complicated quickly. In particular, embedded command substitutions and/or the use of double quotes require careful escaping with the backslash character. The patch was generated by: for _f in $(find . -name "*.sh") do perl -i -pe 'BEGIN{undef $/;} s/`(.+?)`/\$(\1)/smg' "${_f}" done and then carefully proof-read. Signed-off-by: Elia Pinto <gitter.spiros@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Elia Pinto committed Dec 22, 2015 at 16:27 UTC c82ec45e8673470ba270ae19887c43553553c50e
1 file changed +1 -1
t/t3403-rebase-skip.sh
+1 -1
@@ -67,7 +67,7 @@ test_expect_success 'rebase --skip with --merge' '
67 '
68
69 test_expect_success 'merge and reference trees equal' '
70 - test -z "`git diff-tree skip-merge skip-reference`"
70 + test -z "$(git diff-tree skip-merge skip-reference)"
71 '
72
73 test_expect_success 'moved back to branch correctly' '