Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add printf attributes to the printflike functions used in tests and fix | zoulasc | 2020-01-23 | 1 | -1/+1 |
| | | | | | | the format errors. Closes #1318 | ||||
* | Unify header style, header guard comes first | Martin Matuska | 2020-01-13 | 1 | -0/+5 |
| | | | | Found by LGTM.com code analysis | ||||
* | Minor corrections to the formatting of manual page. | Ingo Schwarze | 2019-09-21 | 1 | -6/+5 |
| | | | | | | | | | | | | | | | | | | | | Found with mandoc -Tlint; fixing the following messages: WARNING: bad NAME section content WARNING: missing comma before name WARNING: new sentence, new line WARNING: parenthesis in function name WARNING: skipping no-space macro WARNING: skipping paragraph macro WARNING: unusual Xr order WARNING: unusual Xr punctuation STYLE: no blank before trailing delimiter STYLE: possible typo in section name STYLE: trailing delimiter STYLE: whitespace at end of input line For the meaning of the messages, see: https://man.openbsd.org/mandoc#DIAGNOSTICS | ||||
* | Add space after version to fix all unit tests besides sparse tests | BenjaminTrapani | 2018-01-20 | 1 | -1/+1 |
| | |||||
* | Fix archive freeing bug in bsdcat. | Joerg Sonnenberger | 2017-10-07 | 3 | -5/+55 |
| | | | | | | | | (1) Do not double free a for the stdin case. Reported by Sean Purcell in PR #904. (2) Do not query errors after archive_read_free either, the memory is gone. Split operation into close and read, reporting errors from the former. | ||||
* | Fix alphabetical order, other small fixes | Sean Purcell | 2017-05-15 | 1 | -2/+2 |
| | |||||
* | Add zstd test suite | Sean Purcell | 2017-05-15 | 5 | -0/+92 |
| | |||||
* | 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 | -3403/+15 |
| | |||||
* | testsuite: allow 'dev' in version | Pavel Raiskup | 2017-02-21 | 2 | -64/+4 |
| | |||||
* | Explicitly free archive to reduce valgrind noise. | Joerg Sonnenberger | 2016-12-06 | 1 | -0/+3 |
| | |||||
* | 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 | -1/+55 |
| | |||||
* | 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 |
| | |||||
* | Issue 657: Allow up to 8k for the test root directory name | Tim Kientzle | 2016-06-02 | 1 | -26/+49 |
| | |||||
* | cat: declare static variables and fix several compiler warnings | Martin Matuska | 2016-05-11 | 2 | -7/+7 |
| | |||||
* | 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 |
| | |||||
* | Accomodate different return codes on Windows | Tim Kientzle | 2016-04-24 | 2 | -2/+2 |
| | |||||
* | Bring along a trailing null when guessing the path to the program under test | Tim Kientzle | 2016-01-31 | 1 | -1/+1 |
| | |||||
* | Really sync up the test harnesses | Tim Kientzle | 2016-01-28 | 1 | -0/+11 |
| | |||||
* | Fix two broken UU files | Tim Kientzle | 2016-01-28 | 2 | -3/+3 |
| | |||||
* | Sync up the test harnesses; add error checks to the UUdecode utility | Tim Kientzle | 2016-01-28 | 1 | -7/+57 |
| | |||||
* | 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 | ||||
* | Avoid CMake Warning that used GET_TARGET_PROPERTY with LOCATION property, | Michihiro NAKAJIMA | 2014-10-13 | 2 | -2/+2 |
| | | | | so we should use $<TARGET_FILE> expression instead. | ||||
* | Fix style. | Michihiro NAKAJIMA | 2014-10-12 | 1 | -7/+7 |
| | |||||
* | Fix build failure on Windows. | Michihiro NAKAJIMA | 2014-10-12 | 5 | -15/+404 |
| | | | | | | - Visual Studio does not provide unistd.h - Visual Studio does not provide getopt - Increase portability | ||||
* | 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/+48 |
| | |||||
* | Add lz4 test for bsdcat. | Michihiro NAKAJIMA | 2014-08-18 | 5 | -0/+64 |
| | | | | | - add test utility function canLz4() - fix test_write_filter_lz4 to use canLz4() | ||||
* | Allow empty files (after filters) in bsdcat command. | Sebastian Freundt | 2014-08-13 | 1 | -3/+14 |
| | | | | | | | This changeset fixes an issue with empty compressed files, i.e. files that after inflating are of size 0: bsdcat would report unrecognized archive format for those because the raw reader is unable to handle files of zero length. | ||||
* | Provide regression test case for bsdcat on empty compressed files | Sebastian Freundt | 2014-08-12 | 5 | -0/+92 |
| | |||||
* | 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. | ||||
* | Add lafe files to cat project | Tim Kientzle | 2014-04-12 | 1 | -0/+3 |
| | |||||
* | Add basic tests for bsdcat. | Mike Kazantsev | 2014-04-09 | 20 | -0/+3811 |
| | |||||
* | Exit with error status from bsdcat if any errors occurred. | Mike Kazantsev | 2014-04-09 | 1 | -1/+3 |
| | |||||
* | Return success exit code from "bsdcat --help" and print usage to stdout. | Mike Kazantsev | 2014-04-09 | 2 | -6/+10 |
| | |||||
* | Minor style correction in bsdcat. | Mike Kazantsev | 2014-04-07 | 1 | -1/+2 |
| | |||||
* | Minor cleanup of a redundant check in bsdcat cli parsing. | Mike Kazantsev | 2014-04-06 | 1 | -1/+1 |
| | |||||
* | Change bsdcat behavior to process as many files as possible. | Mike Kazantsev | 2014-04-06 | 2 | -7/+12 |
| | | | | | | Change is to match "cat" behavior of printing any errors (e.g. "unable to open file") and continue to the next file instead of exiting on first error encountered. | ||||
* | Use getopt() instead of getopt_long() in bsdcat for compatibility reasons. | Mike Kazantsev | 2014-04-06 | 1 | -14/+9 |
| | |||||
* | Add optional bsdcat tool. | Mike Kazantsev | 2014-04-04 | 4 | -0/+248 |
bsdcat works like zcat, bzcat, xzcat and similar tools, but auto-detects source data format, which can also vary between multiple input files. |