| Commit message (Collapse) | Author | Files | Lines |
|
Updates #3053.
|
|
Updates #3053.
|
|
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
|
|
Update #3968.
|
|
Do not generate the test tar archive on the host computer since not all
file systems support symbolic links.
Close #3968.
|
|
Rename CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS into
CONFIGURE_MAXIMUM_FILE_DESCRIPTORS.
Update #3753.
|
|
Close #3823.
|
|
Use uniform pattern for all TAR file names. Use the dl* tests as a
template.
Update #3818.
|
|
This simplifies the build process. Do not generate the archive content
through the build system. Let the version control system deal with
symbolic links.
Update #3818.
|
|
This change is part of the testsuite Makefile.am reorganization.
Update #3382
|
|
Update #3170.
Update #3199.
|
|
The TEST_EXTERN is a used only by the system.h style tests and they use
CONFIGURE_INIT appropriately.
Update #3170.
Update #3199.
|
|
Update #3170.
Update #3199.
|
|
- Remove the printf support leaving the direct printk support configured
with TESTS_USE_PRINTK and all other output goes via a buffered vsniprintf
call to printk.
- Control the test's single init for functions and global data with
TEST_INIT and not CONFIGURE_INIT. They are now separate.
Updates #3170.
|
|
|
|
These tests directly or indirectly use fprintf(), etc. which may use the
floating point unit.
Update #3076.
|
|
See also:
https://www.gnu.org/software/automake/manual/html_node/Built-Sources-Example.html
|
|
|
|
Add support to untar XZ compressed files.
|
|
This patch parses the mode field in the tar header and sets the
directory or file to the mode value in the header.
Closes #2768.
|
|
|
|
|
|
Support creating directories for files with a path depth greater than 1. Some
tar files can have files with a path depth greater than 1 and no directory
entry in the tar file to create a directory.
Support overwriting existing files and directories failing in a similar
way to tar on common hosts. If a file is replaced with a file delete the
file and create a new file. If a directory replaces a file remove the file
and create the directory. If a file replaces a directory remove the directory,
and if the directory is not empty and cannot be removed report an error. If a
directory alreday exists do nothing leaving the contents untouched.
The untar code now shares the common header parsing and initial processing
with the actual writes still separate. No changes to the IMFS have been made.
Updates #2415.
Closes #2207.
|
|
This define was superfluous, undocumented and used inconsistently.
|
|
|
|
|
|
|
|
Script does what is expected and tries to do it as
smartly as possible.
+ remove occurrences of two blank comment lines
next to each other after Id string line removed.
+ remove entire comment blocks which only exited to
contain CVS Ids
+ If the processing left a blank line at the top of
a file, it was removed.
|
|
See http://www.rtems.org/pipermail/rtems-devel/2012-May/001006.html
for details.
|
|
|
|
|
|
PR 1589/build
* block01/Makefile.am, block02/Makefile.am, block03/Makefile.am,
block04/Makefile.am, block05/Makefile.am, block06/Makefile.am,
block07/Makefile.am, block08/Makefile.am, block09/Makefile.am,
block10/Makefile.am, bspcmdline01/Makefile.am, cpuuse/Makefile.am,
devfs01/Makefile.am, devfs02/Makefile.am, devfs03/Makefile.am,
devfs04/Makefile.am, deviceio01/Makefile.am,
devnullfatal01/Makefile.am, dumpbuf01/Makefile.am, ftp01/Makefile.am,
gxx01/Makefile.am, heapwalk/Makefile.am, malloc02/Makefile.am,
malloc03/Makefile.am, malloc04/Makefile.am, malloc05/Makefile.am,
malloctest/Makefile.am, monitor/Makefile.am, monitor02/Makefile.am,
mouse01/Makefile.am, putenvtest/Makefile.am, rtems++/Makefile.am,
rtmonuse/Makefile.am, stackchk/Makefile.am, stackchk01/Makefile.am,
stringto01/Makefile.am, tar01/Makefile.am, tar02/Makefile.am,
tar03/Makefile.am, termios/Makefile.am, termios01/Makefile.am,
termios02/Makefile.am, termios03/Makefile.am, termios04/Makefile.am,
termios05/Makefile.am, termios06/Makefile.am, termios07/Makefile.am,
termios08/Makefile.am, tztest/Makefile.am: Remove obsolete optional
manager capability.
|
|
* devfs04/Makefile.am, deviceio01/Makefile.am,
monitor02/Makefile.am, stackchk01/Makefile.am,
stringto01/Makefile.am, tar01/Makefile.am,
tar02/Makefile.am, termios01/Makefile.am,
termios03/Makefile.am, termios04/Makefile.am
tztest/Makefile.am: Add missing files.
|
|
* tar01/init.c: Fixed integer types.
|
|
|
|
* tar01/Makefile.am, tar02/Makefile.am: Apply clean-local to remove
intital_fs directory.
|
|
* tar01/Makefile.am, tar02/Makefile.am: Apply TARTESTS.
|
|
|
|
* tar01/Makefile.am:
Apply $LN_S, $PAX. Use subshell for tarball creation.
Don't add initial_fs to CLEANFILES.
* tar02/Makefile.am:
Apply $LN_S, $PAX. Use subshell for tarball creation.
|
|
* tar01/Makefile.am, tar02/Makefile.am:
Eliminate stamp-filesystem.
|
|
* tar01/Makefile.am, tar02/Makefile.am:
Add BUILT_SOURCES.
|
|
* configure.ac: autoconf >= 2.65, automake >= 1.11.
|
|
* tar01/Makefile.am, tar02/Makefile.am: Fix dependencies for parallel
build.
|
|
* tar01/Makefile.am, tar02/Makefile.am: Replace mkdir cascade
with $(MKDIR_P).
|
|
* tar01/Makefile.am, tar02/Makefile.am: Misc. fixes.
|
|
|
|
PR 1532/testing
* Makefile.am, configure.ac: Add initial tests for untar capabilities.
* tar01/.cvsignore, tar01/Makefile.am, tar01/init.c, tar01/tar01.doc,
tar01/tar01.scn, tar02/.cvsignore, tar02/Makefile.am, tar02/init.c,
tar02/tar02.doc, tar02/tar02.scn: New files.
|