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

target-test fails in symlinked dir.

From: B. W. Fitzpatrick <fitz_at_red-bean.com>
Date: 2001-12-06 06:43:13 CET

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
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.