You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by "B. W. Fitzpatrick" <fi...@red-bean.com> on 2001/12/06 05:43:13 UTC

target-test fails in symlinked dir.

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?

-Fitz

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: target-test fails in symlinked dir.

Posted by Kevin Pilch-Bisson <ke...@pilch-bisson.net>.
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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~