chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] [Chicken-hackers] CHICKEN 4.9.0rc1 is available


From: Mario Domenech Goulart
Subject: Re: [Chicken-users] [Chicken-hackers] CHICKEN 4.9.0rc1 is available
Date: Tue, 06 May 2014 22:23:42 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Hi Michele,

On Tue, 6 May 2014 17:39:32 +0200 Michele La Monaca <address@hidden> wrote:

>> Thanks a lot.  As I understand it, $PWD and `pwd` don't produce the same
>> value on your system.  Is it right?
>
> Right. The attached script produces this output on my system:
>
> /tmp
> /tmp
>
> /tmp
> /tmp/tmp
>
>
>> Getting the current work directory is surprisingly hard (maybe not that
>> surprising).  There's $PWD, the pwd shell builtin and the pwd executable
>> file (usually /bin/pwd or /usr/bin/pwd).  Sometimes they don't produce
>> consistent results when the current work directory is a symlink or the
>> path to it contains a symlink.  That's probably why this test breaks on
>> your system.
>
> Anyway $TEST_DIR and hence `pwd` (builtin or not) seems to work
> properly on all systems, so it looks a safer choice.
>
>> Does the path to the directory where you built and tested CHICKEN
>> contain a symlink?
>
> No.
>
>> What shell are you using?
>
> On Solaris 10 /bin/sh is a bourne shell (thus it has a builtin pwd
> much like the korn shell).

Many thanks.  Attached is your patch signed-off (tested on Linux).

Best wishes.
Mario
-- 
http://parenteses.org/mario

Attachment: 0001-fix-private-repository-tests-for-Solaris.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]