#3968 closed defect (fixed)

symlinks in RTEMS source tree

Reported by: Chris Johns Owned by: Chris Johns
Priority: normal Milestone: 5.1
Component: test Version: 5
Severity: normal Keywords:
Cc: Blocked By:
Blocking:

Description

There is a symlink is in the RTEMS git repo and source tree. We cannot have symlinks in released tar files because it breaks on Windows and MSYS:

$ find . -type l
./testsuites/libtests/tar01/symlink

MSYS reports:

$ find . -type l
./testsuites/libtests/tar01/symlink

The software engineering manual needs an entry stating symlinks cannot appear in the source repo or git in any RTEMS repos. The solution is to create a symlink on suitable hosts, i.e. not Windows when building.

This ticket will address the removal and not state of the effected test. That will be the subject of another ticket if someone creates it.

Change History (2)

comment:1 Changed on May 7, 2020 at 10:32:14 AM by Sebastian Huber <sebastian.huber@…>

Resolution: fixed
Status: assignedclosed

In ef9517b7/rtems:

libtests/tar0[12]: Add tar archive

Do not generate the test tar archive on the host computer since not all
file systems support symbolic links.

Close #3968.

comment:2 Changed on May 9, 2020 at 12:10:55 PM by Sebastian Huber <sebastian.huber@…>

In ea2d923/rtems:

libtests/tar01: Remove files of tar01.tar archive

Update #3968.

Note: See TracTickets for help on using tickets.