Subject: Re: [ANNOUNCE] GIT 1.5.3

From: Arkadiusz Miskiewicz <[email-masked]>
Date: Sun, 02 Sep 2007 14:36:02 +0200

Johannes Schindelin wrote:

> Hi,
> 
> On Sun, 2 Sep 2007, Arkadiusz Miskiewicz wrote:
> 
>> Junio C Hamano wrote:
>> 
>> > The latest feature release GIT 1.5.3 is available at the usual
>> > places:
>> 
>> Hm,
>> 
>> [...]
>>
>> *** t0001-init.sh ***
>> * FAIL 1: plain
>> 
>>                 (
>>                         unset GIT_DIR GIT_WORK_TREE &&
>>                         mkdir plain &&
>>                         cd plain &&
>>                         git init
>>                 ) &&
>>                 check_config plain/.git false unset
> 
> Please try the verbose mode: cd t/ && sh t0001-init.sh -i -v.  If that
> does not show you _what_ the problem is, try "sh -x [...]".
> 
> If you still cannot find what the problem is, please tell us what platform
> you're running on, and show us the output of the "-i -v" invocation.

Found out why this happens. My /bin/sh is pdksh (not bash).

AAAA was never set and:

/bin/sh (pdksh)
[arekm@carme-pld ~]$ unset AAAA
[arekm@carme-pld ~]$ echo $?
1

/bin/bash
[arekm@carme-pld ~]$ unset AAAA
[arekm@carme-pld ~]$ echo $?
0

It's pdksh bug, susv3 says "Unsetting a variable or function that was not
previously set shall not be considered an error and does not cause the
shell to abort."

Going to fix pdksh then.

> Ciao,
> Dscho

-- 
Arkadiusz Miśkiewicz        PLD/Linux Team
arekm / maven.pl            http://ftp.pld-linux.org/