t0001,t1510,t3301: use sane_unset which always returns with status 0
commited40ec551d4517323c6a46aa555b83cc7651ddbc
authorBrandon Casey <drafnel@gmail.com>
Thu, 6 Jan 2011 00:30:02 +0000 (5 18:30 -0600)
committerJunio C Hamano <gitster@pobox.com>
Thu, 6 Jan 2011 20:22:36 +0000 (6 12:22 -0800)
tree9293c1162d75832b1ae4a33cdb1ad849654399ac
parente83c267f71dfef72926807cd69aa8d570e57714e
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>
t/t0001-init.sh
t/t1510-repo-setup.sh
t/t3301-notes.sh