summaryrefslogtreecommitdiffstats
path: root/reachable.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2016-04-09 23:04:30 +0200
committerJunio C Hamano <gitster@pobox.com>2016-04-10 20:46:43 +0200
commitca386ee177dac34a8a4721d546d05e4c6f96417b (patch)
treeddeee90261ec3f5660d0192c78189b20bdd34ba8 /reachable.c
parentGit 2.8.1 (diff)
downloadgit-ca386ee177dac34a8a4721d546d05e4c6f96417b.tar.xz
git-ca386ee177dac34a8a4721d546d05e4c6f96417b.zip
t5532: use write_script
The recent cleanup in b7cbbff switched t5532's use of backticks to $(). This matches our normal shell style, which is good. But it also breaks the test on Solaris, where /bin/sh does not understand $(). Our normal shell style assumes a modern-ish shell which knows about $(). However, some tests create small helper scripts and just write "#!/bin/sh" into them. These scripts either need to go back to using backticks, or they need to respect $SHELL_PATH. The easiest way to do the latter is to use write_script. While we're at it, let's also stick the script creation inside a test_expect block (our usual style), and split the perl snippet into its own script (to prevent quoting madness). Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'reachable.c')
0 files changed, 0 insertions, 0 deletions