Files
rtems/testsuites
Christian Mauderer ffc57e3cf3 untar: Make behavior similar to GNU or BSD tar
RTEMS untar implementation had problems with overwriting or integrating
archives into existing directory structures. This patch adapts the
behavior to mimic that of a GNU tar or BSD tar and extends the tar01
test to check for the behavior. That is:

* If a directory structure exists, the files from the archive will be
  integrated. Existing files are overwritten.

* If a file exists and the archive contains a directory with the same
  name, the file is removed and a directory is created. In the above
  example: if l1/l2 is a file it will be overwritten with a new
  directory.

* If a directory exists and the archive contains a file with the same
  name, the directory will be replaced if it is empty. If it contains
  files, the result is an error.

* An archive also can contain only a file without the parent
  directories. If in that case one of the parent directories exists as a
  file extracting the archive results in an error. In the example: if
  l1/l2 is a file and the archive doesn't contain the directories but
  only the file l1/l2/x.txt that would be an error.

* In case of an error, it is possible that the archive has been
  partially extracted.

Closes #4568
2021-12-09 08:23:47 +01:00
..
2021-09-21 07:39:09 +02:00
2021-09-21 07:39:09 +02:00
2021-09-21 07:39:09 +02:00
2021-09-21 07:39:09 +02:00

This is the directory under which the RTEMS
test programs provided with the release are located.  The
following is a description of the contents of each file and
subdirectory directly in this directory:

NOTE: Other than the 'samples' directory these tests are intended
      only to exercise RTEMS features and are *not* good examples
      of programming for RTEMS.

    samples

       This directory contains a set of simple sample applications
       which can be used either to test a board support package
       or as the starting point for a custom application.

    mptests

       This directory contains the RTEMS Multiprocessor Test Suite.
       The tests in this directory provide near complete (98%+) test
       coverage of the multiprocessor specific code in RTEMS.

    psxtests

       This directory contains the RTEMS POSIX API Test Suite.
       The tests in this directory test the POSIX API support in RTEMS.

    sptests

       This directory contains the RTEMS Single Processor Test Suite.
       The tests in this directory provide near complete (98%+) test
       coverage of the non-multiprocessor code in RTEMS.

    tmtests

       This directory contains the RTEMS Timing Test Suite.
       The tests in this directory are used to measure the execution
       time of RTEMS directive and some critical internal functions.
       The results of these test are reported in the Fact Sheets
       and Supplental Manuals.