summaryrefslogtreecommitdiff
path: root/cpio
Commit message (Collapse)AuthorAgeFilesLines
* Delete archive_matching_path_excluded and archive_matching_path_excluded_w.Michihiro NAKAJIMA2012-01-181-2/+2
| | | | | | | | | | They were not so helpful than I though at archive_read_disk. Rename archive_matching_path_excluded_ae to archive_matching_path_excluded. Rename archive_matching_time_excluded_ae to archive_matching_time_excluded. Rename archive_matching_owner_excluded_ae to archive_matching_owner_excluded. Rename archive_matching_excluded_ae to archive_matching_excluded. SVN-Revision: 4178
* Use archive_matching API at both bsdcpio and bsdtar instead of lafe_exclude ↵Michihiro NAKAJIMA2012-01-185-253/+17
| | | | | | | | | functions. - Remove libarchive_fe/matching.[ch], which are no longer needed. - Move cpio/test/test_pathmatch.c into libarchive/test/test_archive_pathmatch.c. SVN-Revision: 4168
* Spelling fixes from Ulrich Spoerlein.Tim Kientzle2012-01-073-3/+3
| | | | SVN-Revision: 4092
* Introduce canNodump and assertNodump to bsdtar_test and bsdcpio_test.Michihiro NAKAJIMA2011-12-312-0/+129
| | | | SVN-Revision: 4054
* Issue 218: Suppress extracting the body only if we know the body hasTim Kientzle2011-12-301-1/+2
| | | | | | | | | | zero size. If we don't know the size, we have to proceed as if it is non-zero. This manifests as empty bodies when extracting Zip archives using length-at-end semantics from a pipe using bsdcpio. SVN-Revision: 4047
* Improve test utilities to correctly detect the Windows style of full path ↵Michihiro NAKAJIMA2011-12-301-2/+11
| | | | | | | | | that starts with "c:\". Building full path name in test utilities should use memmove instead of strcpy because it is possible that an original path name should overlap itself when moving the path. SVN-Revision: 4040
* Require CMake 2.8 and drop some workarounds for older versions.Tim Kientzle2011-12-281-1/+1
| | | | SVN-Revision: 4027
* Fix misspelling of overridden.Andres Mejia2011-12-241-2/+2
| | | | SVN-Revision: 3994
* .Dt titles are traditionally in all uppercaseTim Kientzle2011-12-231-1/+1
| | | | SVN-Revision: 3974
* Copy -u option support to bsdtar_test and bsdcpio_test.Tim Kientzle2011-12-111-57/+78
| | | | | | Fill in a variable initialization. SVN-Revision: 3901
* cpio_windows.h is no longer used in the cpio test suite.Michihiro NAKAJIMA2011-11-161-3/+0
| | | | SVN-Revision: 3797
* Fix build failure caused by the change of r3794 on MSYS.Michihiro NAKAJIMA2011-11-162-0/+4
| | | | SVN-Revision: 3796
* On Windows, we never get a correct number of the nlinks of a directory as ↵Michihiro NAKAJIMA2011-11-152-0/+4
| | | | | | well as we get it on POSIX system. SVN-Revision: 3794
* I stupidly misunderstood a handling of CMake build options, ENABLE_TAR, ↵Michihiro NAKAJIMA2011-11-152-4/+4
| | | | | | | | | | | ENABLE_TAR_SHARED, ENABLE_CPIO and ENABLE_CPIO_SHARED, in r3240 and r3713. And that had made bsdtar and bsdcpio disabled or being test failure on Windows platform. - Simplify CMake build options; all platforms have the same default build options. - Back out r3713. SVN-Revision: 3791
* Align the test harnesses in each project.Tim Kientzle2011-11-122-23/+281
| | | | SVN-Revision: 3772
* Issue 197: fix a typo; a test for 'ino' accidentally referredTim Kientzle2011-11-121-1/+1
| | | | | | to the 'dev' variable. SVN-Revision: 3768
* Issue 196: cpio format tests should verify that nlinks in theTim Kientzle2011-11-123-15/+22
| | | | | | | | archive matches what's on disk, instead of assuming historical Unix behavior. Thanks to: dpmcgee SVN-Revision: 3766
* Mask SIGPIPE for libarchive test, tar, and cpio.Tim Kientzle2011-11-051-0/+13
| | | | | | | | | | | | | | As reported at: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=641265 The SIGPIPE occurs when feeding data through a decompression program; the external program may see an end-of-data marker and exit before we've finished feeding it all of the data. (This happens when the data has garbage padding at the end.) We want to catch and ignore the EPIPE since we can still read the data coming out of the decompression program. SVN-Revision: 3751
* Build tar and cpio when both ENABLE_TAR and ENABLE_CPIO are OFF on CMake ↵Michihiro NAKAJIMA2011-09-152-4/+4
| | | | | | build system. SVN-Revision: 3713
* Issue 176: Const-ify several static arrays.Michihiro NAKAJIMA2011-09-011-5/+5
| | | | SVN-Revision: 3666
* Fixup bsdcpio_test so it can be called using relative paths to bsdcpio_test.Andres Mejia2011-08-141-5/+51
| | | | | | Now calling ./bsdcpio_test will run all tests, similar to ./libarchive_test. SVN-Revision: 3601
* Be a little more verbose about fundamental sanity failures.Tim Kientzle2011-08-111-2/+10
| | | | SVN-Revision: 3590
* Add proper locations where reference files can be found for bsdtar and ↵Andres Mejia2011-08-081-0/+7
| | | | | | bsdcpio tests. SVN-Revision: 3571
* Tweak a test of cpio date format for Windows.Michihiro NAKAJIMA2011-04-161-3/+5
| | | | SVN-Revision: 3245
* Initialize locale on bsdcpio, and change test_option_t accordinglyMichihiro NAKAJIMA2011-04-152-11/+25
| | | | | | because it compared date format in "C" locale to the output of bsdcpio -t option. SVN-Revision: 3237
* On Windows, this command line systemf("echo f | bsdcpio -pd copy >copy.out ↵Michihiro NAKAJIMA2011-04-131-3/+3
| | | | | | | | | 2>copy.err"), bsdcpio will get a wrong filename "f ". this "echo f| bsdcpio ...." can correctly pass a intended filename to bsdcpio. SVN-Revision: 3224
* Consider the large i-node number for the tests using cpio newc format.Michihiro NAKAJIMA2011-04-134-10/+88
| | | | | | Some cpio tests on Cygwin 1.7.x always failed because of the large i-node number. SVN-Revision: 3222
* remove stuff covered by #if ARCHIVE_VERSION_NUMBER < 3000000Roman Neuhauser2011-04-091-4/+0
| | | | | | | archive.h says #define ARCHIVE_VERSION_NUMBER 3000000, and it's not going to decrease. SVN-Revision: 3191
* Correct a print format of test failure log for file times. its type is `long ↵Michihiro NAKAJIMA2011-03-301-2/+2
| | | | | | long' not `long'. SVN-Revision: 3128
* client and example programs use archive_read_support_filter_*()Roman Neuhauser2011-03-281-2/+2
| | | | | | | the archive_read_support_compression_* -> archive_read_support_filter change should now be complete. SVN-Revision: 3115
* DO NOT USE C++ style comments like // in C code !Björn Jacke2011-02-171-2/+3
| | | | | | | | Not all C compilers are happy with them, lxc on AIX for example. There are much more of them in the testing code but the ones fixed with this commit make at least the most important things compile. SVN-Revision: 2986
* Work around broken PSXCRT unistd.h, which defines macrosTim Kientzle2011-02-133-17/+17
| | | | | | that break any usage of names "optarg" or "option". SVN-Revision: 2979
* From Issue 138: properly cast before assigning unsigned long to int.Tim Kientzle2011-02-111-2/+2
| | | | SVN-Revision: 2964
* Change mode and compress to int to match other option-processing variables.Tim Kientzle2011-02-111-3/+2
| | | | | | Remove unused symlink_mode var. SVN-Revision: 2963
* Additional information on test failures.Tim Kientzle2011-01-301-0/+6
| | | | SVN-Revision: 2954
* Issue 130: Typos and cross-reference errors in man pages.Tim Kientzle2011-01-261-1/+1
| | | | SVN-Revision: 2950
* Eliminate some warnings on Visual Studio.Michihiro NAKAJIMA2011-01-211-2/+2
| | | | SVN-Revision: 2932
* Set PATH_MAX to the size the 2nd argument of getcwd function instead of zero.Michihiro NAKAJIMA2011-01-121-0/+5
| | | | | | | | If the size is zero, Solaris getcwd will return NULL because the size will be used for malloc argument as allocating memory size. SVN-Revision: 2879
* Fix a typo in the cpio test.Tim Kientzle2010-11-201-1/+1
| | | | SVN-Revision: 2792
* Issue 114: Remove duplicate include.Tim Kientzle2010-11-111-3/+0
| | | | SVN-Revision: 2785
* Reconcile the test harnesses across libarchive, tar, and cpio.Tim Kientzle2010-10-312-137/+265
| | | | | | | | Remove almost all of the varargs capabilities from the various assertion helpers, since they complicate the code and are hardly ever used. SVN-Revision: 2772
* When -R is specified, make sure to clear the uname/gnameTim Kientzle2010-08-153-4/+18
| | | | | | | | fields. Add a TODO here for the -R parser to return usable uname/gname text (only useful for tar output, so not a huge priority right now). SVN-Revision: 2554
* Add two more cases where wcscmp is needed. From Hauke FathJoerg Sonnenberger2010-06-281-0/+16
| | | | SVN-Revision: 2511
* QNX needs stdint.h in the test cases as well.Joerg Sonnenberger2010-06-171-3/+2
| | | | | | From Sean Boudreau. SVN-Revision: 2482
* fix fwrites... remember, semi modern glibc's, the return on it is marked for ↵Brian Harring2010-05-111-8/+8
| | | | | | checking, thus when doing maintenance/dev builds (which converts warnings to errors) unchecked fwrites are compile failures SVN-Revision: 2382
* -vV is a synonym for -vTim Kientzle2010-05-011-0/+3
| | | | SVN-Revision: 2348
* Some Solaris systems seem to give root a gid of 1.Tim Kientzle2010-05-011-1/+1
| | | | SVN-Revision: 2347
* test cpio -0Tim Kientzle2010-05-012-0/+93
| | | | SVN-Revision: 2346
* Reorder sections to canonical order.Joerg Sonnenberger2010-04-121-2/+2
| | | | SVN-Revision: 2249
* Don't try to write a body if libarchive won't accept it.Tim Kientzle2010-04-111-1/+1
| | | | SVN-Revision: 2235