failure in test-archive-symlinks.t

Fernando de Oliveira famobr at yahoo.com.br
Mon Feb 3 11:18:59 CST 2014


RE: [issue2667] failure in test-archive-symlinks.t

http://www.selenic.com/pipermail/mercurial-devel/2011-March/028603.html

I would like to confirm that I have the same problem.

I noticed this problem with version 2.8.2 and it also occurs with
version 2.9.

Curiously, if I run the test with the --debug switch, it passes,
although the apparent source for the error is there "lchmod (file
attributes) error: Function not implemented":

{{{
$ rm -rf tmp && ./run-tests.py --debug --tmpdir tmp test-archive-symlinks.t
+ echo SALT1391445401.18 0 0
SALT1391445401.18 0 0
+ /tmp/mercurial-2.9/tests/hghave symlink
+ echo SALT1391445401.18 2 0
SALT1391445401.18 2 0
++ pwd
+ origdir=/tmp/mercurial-2.9/tests/tmp/child0/test-archive-symlinks.t
+ echo SALT1391445401.18 4 0
SALT1391445401.18 4 0
+ hg init repo
+ echo SALT1391445401.18 5 0
SALT1391445401.18 5 0
+ cd repo
+ echo SALT1391445401.18 6 0
SALT1391445401.18 6 0
+ ln -s nothing dangling
+ echo SALT1391445401.18 10 0
SALT1391445401.18 10 0
+ hg ci -d '2000-01-01 00:00:00 +0000' -qAm 'add symlink'
+ echo SALT1391445401.18 12 0
SALT1391445401.18 12 0
+ hg archive -t files ../archive
+ echo SALT1391445401.18 13 0
SALT1391445401.18 13 0
+ hg archive -t tar -p tar ../archive.tar
+ echo SALT1391445401.18 14 0
SALT1391445401.18 14 0
+ hg archive -t zip -p zip ../archive.zip
+ echo SALT1391445401.18 18 0
SALT1391445401.18 18 0
+ cd /tmp/mercurial-2.9/tests/tmp/child0/test-archive-symlinks.t
+ echo SALT1391445401.18 19 0
SALT1391445401.18 19 0
+ cd archive
+ echo SALT1391445401.18 20 0
SALT1391445401.18 20 0
+ /tmp/mercurial-2.9/tests/readlink.py dangling
dangling -> nothing
+ echo SALT1391445401.18 25 0
SALT1391445401.18 25 0
+ cd /tmp/mercurial-2.9/tests/tmp/child0/test-archive-symlinks.t
+ echo SALT1391445401.18 26 0
SALT1391445401.18 26 0
+ tar xf archive.tar
+ echo SALT1391445401.18 27 0
SALT1391445401.18 27 0
+ cd tar
+ echo SALT1391445401.18 28 0
SALT1391445401.18 28 0
+ /tmp/mercurial-2.9/tests/readlink.py dangling
dangling -> nothing
+ echo SALT1391445401.18 33 0
SALT1391445401.18 33 0
+ cd /tmp/mercurial-2.9/tests/tmp/child0/test-archive-symlinks.t
+ echo SALT1391445401.18 34 0
SALT1391445401.18 34 0
+ unzip archive.zip
lchmod (file attributes) error: Function not implemented
+ echo SALT1391445401.18 35 0
SALT1391445401.18 35 0
+ cd zip
+ echo SALT1391445401.18 36 0
SALT1391445401.18 36 0
+ /tmp/mercurial-2.9/tests/readlink.py dangling
dangling -> nothing
+ echo SALT1391445401.18 39 0
SALT1391445401.18 39 0
+ cd ..
+ echo SALT1391445401.18 40 0
SALT1391445401.18 40 0
.
# Ran 1 tests, 0 skipped, 0 failed.
}}}


-- 
[]s,
Fernando


More information about the Mercurial-devel mailing list