Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add zstd test suite | Sean Purcell | 2017-05-15 | 4 | -0/+141 |
| | |||||
* | Fix use-after-free in error branch. From Ngie Cooper. | Joerg Sonnenberger | 2017-05-11 | 1 | -1/+1 |
| | |||||
* | Don't leak memory. | Joerg Sonnenberger | 2017-04-29 | 12 | -11/+34 |
| | |||||
* | Add NFSv4 ACL support for Linux via librichacl | Martin Matuska | 2017-03-16 | 1 | -1/+6 |
| | | | | | | | | | | | | Richacls are interpreted as NFSv4 ACLs and stored in archive_acl (Richacl flags and masks are not stored). Analog to mac_metadata, NFSv4 ACLs do not get extracted when the extraction of extended attributes is enabled and the "trusted.richacl" extended attribute is present. RichACL masks and are calculated from file mode on extraction. mac_metadata acl check has been moved in the code to be together with the richacl check. | ||||
* | New tar test: test_option_acls | Martin Matuska | 2017-03-02 | 1 | -0/+5 |
| | | | | | Add sunacl_get() and setTestAcl() to common test code Test for membership.h on Mac OS X and make it a requirement for ACLs | ||||
* | test suite: use a single main test file for all tests | Martin Matuska | 2017-02-21 | 4 | -3406/+16 |
| | |||||
* | testsuite: allow 'dev' in version | Pavel Raiskup | 2017-02-21 | 2 | -83/+3 |
| | |||||
* | Spelling fixes (#846) | Graham Percival | 2016-12-20 | 1 | -1/+1 |
| | | | Sponsored by: Tarsnap Backup Inc. | ||||
* | Merge pull request #807 from csanchezdll/issue696 | Tim Kientzle | 2016-12-11 | 1 | -0/+7 |
|\ | | | | | Issue 696: ppc64le mache ckech failure | ||||
| * | Issue 696: ppc64le mache ckech failure | Carlos Sánchez de La Lama | 2016-10-19 | 1 | -0/+7 |
| | | | | | | | | | | | | | | This issue is not ppc64le specific. I have experienced on my 4.4.22-gnu #1 SMP 1 i686 GNU/Linux. Might be dependant on kernel version and/or machine load. POSIX says errors after posix_spawnp returns can be signaled by child exitting with an 127 exit code. | ||||
* | | Free p (the memory allocated via slurpfile) when done with the contents | Ngie Cooper | 2016-12-10 | 4 | -3/+15 |
| | | | | | | | | | | Reported by: Coverity CID: 1331631, 1331632, 1331633, 1331646 | ||||
* | | Spelling fixes (#831) | Graham Percival | 2016-12-04 | 1 | -2/+2 |
| | | | | | | Sponsored by: Tarsnap Backup Inc. | ||||
* | | Make test output more verbose on Windows | Tim Kientzle | 2016-10-23 | 1 | -1/+2 |
| | | |||||
* | | Sync up the test harnesses, fix an "unused var" warning on Windows | Tim Kientzle | 2016-10-23 | 2 | -0/+35 |
|/ | |||||
* | Issue #801: close the file descriptor when testing link counts | Tim Kientzle | 2016-10-11 | 2 | -1/+20 |
| | | | | | Thanks to Ed Maste for reporting this leak. Found by: Coverity | ||||
* | Add chmod() after make_{dir,file} in test suites | Graham Percival | 2016-09-26 | 1 | -2/+9 |
| | | | | | | | | | | | | | This is the same change that 38b3f516df865e2dffd0a1bbc9feb923ab2efc38 made to libarchive/test/main.c , but now applied to: cat/test/main.c cpio/test/main.c tar/test/main.c Sponsored by: Tarsnap Backup Inc. | ||||
* | Add and use assertion_file_mode() in other tests | Graham Percival | 2016-09-26 | 2 | -1/+30 |
| | | | | | | | | | | | This adds the assertion_file_mode() function from libarchive/test/main.c and applies it to cat/test/main.c cpio/test/main.c tar/test/main.c Sponsored by: Tarsnap Backup Inc. | ||||
* | Issue 720: Allow dashes in third-party version numbers | Tim Kientzle | 2016-07-20 | 1 | -1/+1 |
| | |||||
* | Fix test for cpio version dash fix | Martin Matuska | 2016-06-21 | 1 | -2/+2 |
| | |||||
* | Issue 657: Allow up to 8k for the test root directory name | Tim Kientzle | 2016-06-02 | 1 | -26/+49 |
| | |||||
* | Issue 708: tar should fail if a named input file is missing | Tim Kientzle | 2016-05-28 | 2 | -0/+53 |
| | | | | | | | | Tar was exiting with success if an input file named on the command line was not present. Includes tests for both bsdtar and bsdcpio to ensure this does not regress. | ||||
* | Sync up test harnesses | Tim Kientzle | 2016-04-29 | 1 | -0/+4 |
| | |||||
* | Issue 695: check fwrite return value, sync up test harnesses | Tim Kientzle | 2016-04-28 | 1 | -1/+32 |
| | |||||
* | Fix -c test: we forced uid/gid to 1000, so we should not compare against ↵ | Tim Kientzle | 2016-02-13 | 1 | -6/+2 |
| | | | | the current user | ||||
* | Issue #377: Help cpio tests pass on systems with large UIDs | Tim Kientzle | 2016-03-19 | 2 | -2/+2 |
| | |||||
* | Rework LZ4 option tests to work with various implementations of posix_spawnp | Tim Kientzle | 2016-01-31 | 1 | -3/+15 |
| | |||||
* | Update lz4 test to watch for the reworded error messages | Tim Kientzle | 2016-01-31 | 1 | -1/+1 |
| | |||||
* | Bring along a trailing null when guessing the path to the program under test | Tim Kientzle | 2016-01-31 | 1 | -1/+1 |
| | |||||
* | Fix LZ4 tests when liblz4 is not present | Tim Kientzle | 2016-01-30 | 1 | -2/+2 |
| | |||||
* | Really sync up the test harnesses | Tim Kientzle | 2016-01-28 | 1 | -0/+13 |
| | |||||
* | Sync up the test harnesses; add error checks to the UUdecode utility | Tim Kientzle | 2016-01-28 | 1 | -7/+58 |
| | |||||
* | Visual Studio 2015 Changes | Hans Hinrichsen | 2016-01-13 | 1 | -1/+1 |
| | | | | snprintf shouldn't be defined in a macro in VS2015 and above due to its C99 changes | ||||
* | Skip the --lz4 test if libarchive was compiled without the library | Tim Kientzle | 2015-01-25 | 1 | -0/+6 |
| | | | | | | and this platform does not have an lz4 executable. It seems there should be a better way to handle this.... <sigh> | ||||
* | Avoid CMake Warning that used GET_TARGET_PROPERTY with LOCATION property, | Michihiro NAKAJIMA | 2014-10-13 | 1 | -1/+2 |
| | | | | so we should use $<TARGET_FILE> expression instead. | ||||
* | Add tests for --passphrase option. | Michihiro NAKAJIMA | 2014-10-04 | 3 | -0/+56 |
| | |||||
* | Fix incorrect CMake test directory when building as a subproject | Xiao-Long Chen | 2014-09-16 | 1 | -1/+1 |
| | | | | This is an extension of e800985adbb0820c5692ea016b3a8499d69a73dc | ||||
* | Add additional tests for lz4 compression in front-end applications. | Michihiro NAKAJIMA | 2014-08-18 | 3 | -0/+56 |
| | |||||
* | Add lz4 test for bsdcat. | Michihiro NAKAJIMA | 2014-08-18 | 2 | -0/+18 |
| | | | | | - add test utility function canLz4() - fix test_write_filter_lz4 to use canLz4() | ||||
* | Add support for lz4 write filter. | Michihiro NAKAJIMA | 2014-08-14 | 2 | -0/+57 |
| | |||||
* | Add a test utility function, copy_reference_file simply coping | Michihiro NAKAJIMA | 2014-06-29 | 2 | -0/+25 |
| | | | | | | | | | | | | a sample file to the current directory of a running test. A uudecode filter test will use it for its new test. TODO: make a symbolic link file insted of copying a sample file. Historically, libarchive cannot handle uuencoded files when libarchive's test suit was made. Now libarchive can handle it directly by uudecode filter, I think, we can reduce copying sample files to the directory test program expects they are on an isolated directory for their test. | ||||
* | Apply recent changs in libarvhie/test/main.c to {tar,cpio,cat}/test/main.c ↵ | Michihiro NAKAJIMA | 2014-06-29 | 1 | -3/+4 |
| | | | | for keeping maintenacebility. | ||||
* | fixes for test programs to be buildable by Open Watcom | Jiri Malak | 2014-03-12 | 2 | -5/+13 |
| | | | | correct buffers to be realy local for each test as expected by logic | ||||
* | Show third party library versions in version string | Ross Lagerwall | 2013-09-16 | 2 | -0/+6 |
| | | | | | | | | | Add a utility function, archive_version_details, to return a string containing the libarchive version as well as the versions of third party libraries such as zlib, bz2lib and liblzma. Use this function for bsdtar --version and bsdcpio --version. http://code.google.com/p/libarchive/issues/detail?id=118 | ||||
* | Test correct archive in test_extract_cpio_lzo test case. | Andres Mejia | 2013-02-21 | 1 | -1/+1 |
| | |||||
* | Remove error about unreachable code, fixes build on Visual Studio 12. | Andres Mejia | 2013-01-29 | 1 | -1/+0 |
| | |||||
* | Fix bugs in test programs which Clang Static Analyzer pointed out. | Michihiro NAKAJIMA | 2012-11-14 | 3 | -20/+38 |
| | |||||
* | Fix build failure on Win64. | Michihiro NAKAJIMA | 2012-11-07 | 1 | -7/+7 |
| | |||||
* | Fix a segmentation fault when files for assertionEqualFile do not exist. | Michihiro NAKAJIMA | 2012-10-31 | 1 | -0/+5 |
| | |||||
* | Use liblzo2 for the lzop write filter. | Michihiro NAKAJIMA | 2012-10-21 | 1 | -8/+12 |
| | |||||
* | Perform 'bzip2 -d -V' instead of 'bzip2 -V' for a bzip2 availableness | Michihiro NAKAJIMA | 2012-10-16 | 1 | -1/+1 |
| | | | | | test because the process on FreeBSD 9 does not finish its program when redirecting stdout to /dev/null. |