author | Jeff King <peff@peff.net> | |
Sat, 4 Feb 2012 06:30:18 +0000 (01:30 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 4 Feb 2012 07:01:55 +0000 (23:01 -0800) | ||
commit | 3d9f5b674fb53cc931e0f676f1599050bd69f696 | |
tree | db851a3bfe67305db42a262d1f20756f789ac974 | tree | snapshot |
parent | 840c519d7e7ae4651a7b5a0954f7aa53eebc29b6 | commit | diff |
t0300: use write_script helper
t0300 creates some helper shell scripts, and marks them with
"!/bin/sh". Even though the scripts are fairly simple, they
can fail on broken shells (specifically, Solaris /bin/sh
will persist a temporary assignment to IFS in a "read"
command).
Rather than work around the problem for Solaris /bin/sh,
using write_script will make sure we point to a known-good
shell that the user has given us.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t0300 creates some helper shell scripts, and marks them with
"!/bin/sh". Even though the scripts are fairly simple, they
can fail on broken shells (specifically, Solaris /bin/sh
will persist a temporary assignment to IFS in a "read"
command).
Rather than work around the problem for Solaris /bin/sh,
using write_script will make sure we point to a known-good
shell that the user has given us.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t0300-credentials.sh | diff | blob | history |