(
Jump to the original submission)
Wed 11 May 2011 08:24:24 AM UTC, comment #9:
No response. Closing as obsolete.
|
Sat 02 Apr 2011 09:58:01 PM UTC, comment #8:
Nelson, could you take a look at this please?
|
Sat 02 Apr 2011 09:55:40 PM UTC, comment #7:
ping?
|
Thu 07 Oct 2010 09:51:57 AM UTC, comment #6:
Nelson, any news?
|
Wed 07 Apr 2010 11:13:20 PM UTC, comment #5:
Nelson: ping?
|
Sun 05 Jul 2009 10:34:56 PM UTC, comment #4:
Nelson, are you able to reproduce this problem with any 4.4.x or 4.5.x release?
|
Sun 07 Sep 2008 03:45:29 PM UTC, comment #3:
So, does using "ln -n" fix the problem?
|
Sat 08 Sep 2007 11:54:26 AM UTC, comment #2:
Do we have any new information on this issue?
|
Sat 26 May 2007 01:04:46 PM UTC, comment #1:
Er, actually #2 corresponds to what we do now, and #1 passes an -n flag to ln.
|
Sat 26 May 2007 01:02:47 PM UTC, original submission:
When the test setup phase of
find/testsuite/find.gnu/samefile-p-brokenlink.exp is carried out on OpenBSD 3.9 and on Solaris 10, it fails:
Running /local/build/bare/findutils-4.3.6/find/testsuite/find.gnu/samefile-same.exp ...
ERROR: tcl error sourcing /local/build/bare/findutils-4.3.6/find/testsuite/find.gnu/samefile-p-brokenlink.exp.
ERROR: ln: accessing `tmp/broken': No such file or directory
while executing
"exec ln tmp/broken tmp/blink"
(file "/local/build/bare/findutils-4.3.6/find/testsuite/find.gnu/samefile-p-brokenlink.exp" line 8)
invoked from within
"source /local/build/bare/findutils-4.3.6/find/testsuite/find.gnu/samefile-p-brokenlink.exp"
("uplevel" body line 1)
invoked from within
"uplevel #0 source /local/build/bare/findutils-4.3.6/find/testsuite/find.gnu/samefile-p-brokenlink.exp"
invoked from within
"catch "uplevel #0 source $test_file_name""
I am not sure yet what causes this, but I suspect that on this system it is not possible to create a hard link to a broken symlink, or perhaps it is possible but it requires the use of an option that we are not using.
A useful diagnostic would be to attempt these two similar but different shell commands on the two systems under consideration:-
# 1
rm -rf broken link;
ln -s nosuchfile broken;
ln -n broken link;
ls -il broken link
# 2
rm -rf broken link;
ln -s nosuchfile broken;
ln broken link;
ls -il broken link
#1 corresponds to what we do now, and #2 passes an -n flag to ln.
|
(Note: upload size limit is set to 16384 kB, after insertion of the required
escape characters.)
Attach File(s):
Comment:
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
Follow 3 latest changes.