author | Brandon Casey <drafnel@gmail.com> | |
Thu, 6 Jan 2011 00:30:02 +0000 (18:30 -0600) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 6 Jan 2011 20:22:36 +0000 (12:22 -0800) | ||
commit | ed40ec551d4517323c6a46aa555b83cc7651ddbc | |
tree | 9293c1162d75832b1ae4a33cdb1ad849654399ac | tree | snapshot |
parent | e83c267f71dfef72926807cd69aa8d570e57714e | commit | diff |
t0001,t1510,t3301: use sane_unset which always returns with status 0
On some shells (like /usr/xpg4/bin/sh on Solaris), unset will exit
non-zero when passed the name of a variable that has not been set. Use
sane_unset instead so that the return value of unset can be ignored while
the && linkage of the test script can be preserved.
Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
On some shells (like /usr/xpg4/bin/sh on Solaris), unset will exit
non-zero when passed the name of a variable that has not been set. Use
sane_unset instead so that the return value of unset can be ignored while
the && linkage of the test script can be preserved.
Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t0001-init.sh | diff | blob | history | |
t/t1510-repo-setup.sh | diff | blob | history | |
t/t3301-notes.sh | diff | blob | history |