summaryrefslogtreecommitdiff
path: root/cat/test
Commit message (Collapse)AuthorAgeFilesLines
* Add printf attributes to the printflike functions used in tests and fixzoulasc2020-01-231-1/+1
| | | | | | the format errors. Closes #1318
* Fix archive freeing bug in bsdcat.Joerg Sonnenberger2017-10-072-0/+43
| | | | | | | | (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 fixesSean Purcell2017-05-151-2/+2
|
* Add zstd test suiteSean Purcell2017-05-155-0/+92
|
* Add NFSv4 ACL support for Linux via librichaclMartin Matuska2017-03-161-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_aclsMartin Matuska2017-03-021-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 testsMartin Matuska2017-02-214-3403/+15
|
* testsuite: allow 'dev' in versionPavel Raiskup2017-02-212-64/+4
|
* Spelling fixes (#831)Graham Percival2016-12-041-2/+2
| | | Sponsored by: Tarsnap Backup Inc.
* Make test output more verbose on WindowsTim Kientzle2016-10-231-1/+2
|
* Sync up the test harnesses, fix an "unused var" warning on WindowsTim Kientzle2016-10-232-1/+55
|
* Add chmod() after make_{dir,file} in test suitesGraham Percival2016-09-261-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 testsGraham Percival2016-09-262-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 numbersTim Kientzle2016-07-201-1/+1
|
* Issue 657: Allow up to 8k for the test root directory nameTim Kientzle2016-06-021-26/+49
|
* Sync up test harnessesTim Kientzle2016-04-291-0/+4
|
* Issue 695: check fwrite return value, sync up test harnessesTim Kientzle2016-04-281-1/+32
|
* Accomodate different return codes on WindowsTim Kientzle2016-04-242-2/+2
|
* Bring along a trailing null when guessing the path to the program under testTim Kientzle2016-01-311-1/+1
|
* Really sync up the test harnessesTim Kientzle2016-01-281-0/+11
|
* Fix two broken UU filesTim Kientzle2016-01-282-3/+3
|
* Sync up the test harnesses; add error checks to the UUdecode utilityTim Kientzle2016-01-281-7/+57
|
* Visual Studio 2015 ChangesHans Hinrichsen2016-01-131-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 NAKAJIMA2014-10-131-1/+2
| | | | so we should use $<TARGET_FILE> expression instead.
* Fix incorrect CMake test directory when building as a subprojectXiao-Long Chen2014-09-161-1/+1
| | | | This is an extension of e800985adbb0820c5692ea016b3a8499d69a73dc
* Add additional tests for lz4 compression in front-end applications.Michihiro NAKAJIMA2014-08-183-0/+48
|
* Add lz4 test for bsdcat.Michihiro NAKAJIMA2014-08-185-0/+64
| | | | | - add test utility function canLz4() - fix test_write_filter_lz4 to use canLz4()
* Provide regression test case for bsdcat on empty compressed filesSebastian Freundt2014-08-125-0/+92
|
* Add a test utility function, copy_reference_file simply copingMichihiro NAKAJIMA2014-06-292-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 NAKAJIMA2014-06-291-3/+4
| | | | for keeping maintenacebility.
* Add basic tests for bsdcat.Mike Kazantsev2014-04-0919-0/+3809