bugfindutils - Bugs: bug #19973, Setup for...

 
 

bug #19973: Setup for samefile-p-brokenlink.exp fails

Submitted by:  James Youngman <jay>
Submitted on:  Sat 26 May 2007 01:02:47 PM UTC  
 
Category: findSeverity: 2 - Minor
Item Group: NoneStatus: Works For Me
Privacy: PublicAssigned to: James Youngman <jay>
Originator Name: Nelson H. F. BeebeOpen/Closed: Closed
Release: 4.3.6Fixed Release: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

(Jump to the original submission Jump to the original submission)

Wed 11 May 2011 08:24:24 AM UTC, comment #9:

No response. Closing as obsolete.

James Youngman <jay>
Project AdministratorIn charge of this item.
Sat 02 Apr 2011 09:58:01 PM UTC, comment #8:

Nelson, could you take a look at this please?

James Youngman <jay>
Project AdministratorIn charge of this item.
Sat 02 Apr 2011 09:55:40 PM UTC, comment #7:

ping?

James Youngman <jay>
Project AdministratorIn charge of this item.
Thu 07 Oct 2010 09:51:57 AM UTC, comment #6:

Nelson, any news?

James Youngman <jay>
Project AdministratorIn charge of this item.
Wed 07 Apr 2010 11:13:20 PM UTC, comment #5:

Nelson: ping?

James Youngman <jay>
Project AdministratorIn charge of this item.
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?

James Youngman <jay>
Project AdministratorIn charge of this item.
Sun 07 Sep 2008 03:45:29 PM UTC, comment #3:

So, does using "ln -n" fix the problem?

James Youngman <jay>
Project AdministratorIn charge of this item.
Sat 08 Sep 2007 11:54:26 AM UTC, comment #2:

Do we have any new information on this issue?

James Youngman <jay>
Project AdministratorIn charge of this item.
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.

James Youngman <jay>
Project AdministratorIn charge of this item.
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.

James Youngman <jay>
Project AdministratorIn charge of this item.

 

(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

 

Carbon-Copy List
  • -unavailable- added by jay
  • -unavailable- added by jay (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 11 May 2011 08:24:24 AM UTCjayStatusNeed Info=>Works For Me
      Open/ClosedOpen=>Closed
    Sat 02 Apr 2011 09:57:45 PM UTCjayCarbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup1