bugQuilt - Bugs: bug #63451, backup-files test failure due to...

 
 

bug #63451: backup-files test failure due to difference in ln behavior

Submitter:  None
Submitted:  Wed 30 Nov 2022 04:07:46 PM UTC
   
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Fixed Privacy:  Public
Assigned to:  khali Open/Closed:  Closed
* Mandatory Fields

Post a Comment

Add a New Comment Rich Markup
   

Discussion

Tue 06 Dec 2022 03:58:32 PM UTC, comment #1: 

Thanks for reporting. Fixed by:

http://git.savann ... 08427a3edac8f7de5

Jean Delvare <khali>
Group administrator
Wed 30 Nov 2022 04:07:46 PM UTC, original submission:  

When running the Quilt 0.67 test suite on Solaris, I encountered the following error in 'backup-files' test:

...
[238] $ $(@D)/quilt/scripts/backup-files -B backup/ -b dir/link -- failed
Copying dir/link                      == Copying dir/link
cp: cannot stat 'dir/link': No such file or directory != ~

This is because the ln defaults can be slightly different depending on the platform. While on Linux `ln` default to `ln -P`, on Solaris (and possibly other platforms) it defaults to `ln -L`.

It can be reproduced with the following anywhere:
$ ln -s link foo   # link doesn't exist
$ ln -L foo backup
ln: failed to access 'foo': No such file or directory
$ ln -P foo backup  # success

This difference is best resolved by explicitly using the `-P` flag (patch is attached).

Anonymous

 

Attached Files

Attached Files
file #54043:  solaris.patch added by None (393B - text/x-patch)

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

Attach Files:
   
   
Comment:
   

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

Carbon-Copy List
  • -email is unavailable- added by khali (Updated the item)
  •  

    Votes

    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.

     

    History

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-12-06 khali StatusIn Progress Fixed
        Open/ClosedOpen Closed
    2022-12-01 khali StatusNone In Progress
        Assigned toNone khali
    2022-11-30 None Attached File- Added solaris.patch, #54043

    Back to the top

    Powered by Savane 3.16-11ef.
    Corresponding source code