summaryrefslogtreecommitdiff
path: root/t/t4135
diff options
context:
space:
mode:
authorLibravatar Stefano Lattarini <stefano.lattarini@gmail.com>2012-03-02 19:48:36 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-03-02 14:41:06 -0800
commit661bfd13b49db0affebbdda5ac478ebe67634947 (patch)
treee09ad288cc8b942bf96f2b8b6983928aeab7484a /t/t4135
parentDocumentation: do not assume that n > 1 in <rev>~$n (diff)
downloadtgif-661bfd13b49db0affebbdda5ac478ebe67634947.tar.xz
tests: fix spurious error when run directly with Solaris /usr/xpg4/bin/sh
If any test script is run directly with Solaris 10 /usr/xpg4/bin/sh or /bin/ksh, it fails spuriously with a message like: t0000-basic.sh[31]: unset: bad argument count This happens because those shells bail out when encountering a call to "unset" with no arguments, and such unset call could take place in 'test-lib.sh'. Fix that issue, and add a proper comment to ensure we don't regress in this respect. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4135')
0 files changed, 0 insertions, 0 deletions