chicken-hackers
[Top][All Lists]
Advanced

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

Re: [Chicken-hackers] [PATCH] Make tests work from symlinked paths


From: Moritz Heidkamp
Subject: Re: [Chicken-hackers] [PATCH] Make tests work from symlinked paths
Date: Sat, 25 May 2013 17:59:37 +0200

Mario Domenech Goulart <address@hidden> writes:
> Maybe "readlink -f" ?

OK, Peter found that even that is not portable so I changed the test
itself to do the path canonicalization. Turns out that while the posix
unit's read-symbolic-link has a CANONICALIZE option it doesn't quite
behave like the readlink(1) program. So I went ahead and adapted its
behavior to match that. I also noticed that the types.db entry for
read-symbolic-link did not include that optional argument so I took it
as an opportunity to fix this, as well.

Moritz

Attachment: 0001-Improve-read-symbolic-link-canonicalization.patch
Description: Text Data

Attachment: 0002-Fix-read-symbolic-link-types.db-entry.patch
Description: Text Data

Attachment: 0003-Make-tests-work-from-symlinked-paths.patch
Description: Text Data


reply via email to

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