[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: target-test fails in symlinked dir.

From: Kevin Pilch-Bisson <kevin_at_pilch-bisson.net>
Date: 2001-12-06 14:36:31 CET

On Wed, Dec 05, 2001 at 11:43:13PM -0600, B. W. Fitzpatrick wrote:
>
> make check ran fine except for target-test which failed all 5
> tests.
>
> pantheon: /home/bwf/cvs-work/subversion/subversion/tests/libsvn_subr>./target-test.sh
> FAIL: target-test 1: normal use
> FAIL: target-test 2: identical dirs
> FAIL: target-test 3: identical files
> FAIL: target-test 4: single dir
> FAIL: target-test 5: single file
>
>
> Further investigation showed that it doesn't like to build in a dir
> that is a symlink:
>
> pantheon: /home/bwf/cvs-work/subversion/subversion/tests/libsvn_subr>./target-test.sh
> FAIL: target-test 1: normal use
> GOT = /disk/hdb1/bwf-dont-backup/cvs-work/subversion/subversion/tests/libsvn_subr/z: A, D, G,
> EXPECTED = /home/bwf/cvs-work/subversion/subversion/tests/libsvn_subr/z: A, D, G,
> FAIL: target-test 2: identical dirs
> FAIL: target-test 3: identical files
> FAIL: target-test 4: single dir
> FAIL: target-test 5: single file
>
> GOT refers to the real path to cwd, EXPECTED refers to the actual cwd
> (which I got to via a symlink). If I cd into the real dir, all is
> well:
>
> pantheon: /home/bwf/cvs-work/subversion/subversion/tests/libsvn_subr> \
> cd /disk/hdb1/bwf-dont-backup/cvs-work/subversion/subversion/tests/libsvn_subr/
> pantheon: /disk/hdb1/bwf-dont-backup/cvs-work/subversion/subversion/tests/libsvn_subr>./target-test.sh
> PASS: target-test 1: normal use
> PASS: target-test 2: identical dirs
> PASS: target-test 3: identical files
> PASS: target-test 4: single dir
> PASS: target-test 5: single file
>
> Kevin, do you think this is worth fixing?

I think it's worth fixing. Its bitten a couple of other people in the past.

However, I have 2 slight problems: Not sure what the fix is, and I have NO
time at the moment.

We might want to file a bite-sized task for it, and see if anyone wants
to fix it before I get a chance:)

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kevin Pilch-Bisson                    http://www.pilch-bisson.net
     "Historically speaking, the presences of wheels in Unix
     has never precluded their reinvention." - Larry Wall
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  • application/pgp-signature attachment: stored
Received on Sat Oct 21 14:36:51 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.