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

 
 

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

Submitter:  James Youngman <jay>
Submitted:  Sat 26 May 2007 01:02:47 PM UTC
   
 
Category:  find Severity:  2 - Minor
Item Group:  None Status:  Works For Me
Privacy:  Public Assigned to:  jay
Originator Name:  Nelson H. F. Beebe Open/Closed:  Closed
Release:  4.3.6 Fixed Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

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

No response. Closing as obsolete.

James Youngman <jay>
Group administrator
Sat 02 Apr 2011 09:58:01 PM UTC, comment #8: 

Nelson, could you take a look at this please?

James Youngman <jay>
Group administrator
Sat 02 Apr 2011 09:55:40 PM UTC, comment #7: 

ping?

James Youngman <jay>
Group administrator
Thu 07 Oct 2010 09:51:57 AM UTC, comment #6: 

Nelson, any news?

James Youngman <jay>
Group administrator
Wed 07 Apr 2010 11:13:20 PM UTC, comment #5: 

Nelson: ping?

James Youngman <jay>
Group administrator
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>
Group administrator
Sun 07 Sep 2008 03:45:29 PM UTC, comment #3: 

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

James Youngman <jay>
Group administrator
Sat 08 Sep 2007 11:54:26 AM UTC, comment #2: 

Do we have any new information on this issue?

James Youngman <jay>
Group administrator
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>
Group administrator
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>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-05-11 jay StatusNeed Info Works For Me
        Open/ClosedOpen Closed
    2011-04-02 jay Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-bb6a.
    Corresponding source code