summaryrefslogtreecommitdiff
path: root/cpio/test/test_format_newc.c
Commit message (Collapse)AuthorAgeFilesLines
* bsdcpio_test: from_hex() needs to be an uint32_tMartin Matuska2020-02-271-15/+18
| | | | Fixes #1339
* Add printf attributes to the printflike functions used in tests and fixzoulasc2020-01-231-5/+10
| | | | | | the format errors. Closes #1318
* Fix remaining MinGW testsMartin Matuska2019-04-071-0/+5
| | | | Enable tests on MinGW CI builds
* Fix various symlink bugs with Windows symlinksMartin Matuska2019-04-041-1/+1
| | | | tests: extend assertMakeSymlink with targetIsDir
* Cpio test: Expected error message depends on local strerror()Tim Kientzle2018-09-021-12/+28
|
* Fix bugs in test programs which Clang Static Analyzer pointed out.Michihiro NAKAJIMA2012-11-141-2/+2
|
* Fix build failure caused by the change of r3794 on MSYS.Michihiro NAKAJIMA2011-11-161-0/+2
| | | | SVN-Revision: 3796
* On Windows, we never get a correct number of the nlinks of a directory as ↵Michihiro NAKAJIMA2011-11-151-0/+2
| | | | | | well as we get it on POSIX system. SVN-Revision: 3794
* Issue 196: cpio format tests should verify that nlinks in theTim Kientzle2011-11-121-4/+10
| | | | | | | | archive matches what's on disk, instead of assuming historical Unix behavior. Thanks to: dpmcgee SVN-Revision: 3766
* Consider the large i-node number for the tests using cpio newc format.Michihiro NAKAJIMA2011-04-131-2/+27
| | | | | | Some cpio tests on Cygwin 1.7.x always failed because of the large i-node number. SVN-Revision: 3222
* Properly conditionalize symlink tests on canSymlink().Tim Kientzle2009-09-241-41/+38
| | | | SVN-Revision: 1461
* Whitespace cleanup.Tim Kientzle2009-08-061-2/+2
| | | | SVN-Revision: 1343
* Wrap an obscure bit-munging trick in a documented macro to clarify theTim Kientzle2009-08-041-8/+15
| | | | | | code (and avoid compiler warnings). SVN-Revision: 1336
* We can always assert that the uid is the same for all entries.Tim Kientzle2009-08-021-4/+11
| | | | | | If we are on POSIX, we can further assert that the uid is the current user. SVN-Revision: 1332
* Update test_format_newc.c to new infrastructure.Tim Kientzle2009-08-021-13/+10
| | | | SVN-Revision: 1327
* Use assertUmask() instead of unchecked umask().Tim Kientzle2009-08-021-4/+1
| | | | SVN-Revision: 1324
* Use assertMakeDir() instead of mkdir().Tim Kientzle2009-08-021-1/+1
| | | | SVN-Revision: 1323
* Convert some cpio/test symlink/hardlink handling to new platform-independent ↵Tim Kientzle2009-08-021-2/+2
| | | | | | test infrastructure. SVN-Revision: 1318
* Issue 26: On systems where sgid bit propagates to subdirs, weTim Kientzle2009-04-211-2/+3
| | | | | | | can end up with spurious 02000 added to the modes of some directories. Allow this. SVN-Revision: 1049
* Issue 15, part 6. Fix test failure on cygwin-1.7.xCharles Wilson2009-03-181-0/+2
| | | | | | | | | | | | | | In cpio/test/tests.h: new #define to disable certain tests on cygwin. POSIX does not require that the .nlinks field be accurate for directories, and as an optimization newer cygwin does not even try to ensure its accuracy. Therefore, it is not a failure if wrong; cpio tests should not verify its value -- at least on cygwin. cpio/test/test_format_newc.c: Use new #define to skip .nlinks test. cpio/test/test_option_c.c: ditto. SVN-Revision: 802
* Issue 15, part 3. Mechanical conversion of #defines, cpio/Charles Wilson2009-03-181-6/+6
| | | | | | | | | | #ifdef _WIN32 --> #if defined(_WIN32) && !defined(__CYGWIN__) #ifndef _WIN32 --> #if !defined(_WIN32) || defined(__CYGWIN__) Exceptions to the general rule: cpio/test/main.c: some additional comments cpio/cpio.c: some additional comments SVN-Revision: 789
* Add assertFileTextContents to bsdcpio_test.Michihiro NAKAJIMA2009-03-131-2/+1
| | | | | | | It asserts the contents of a text file and pass over different new line characters. SVN-Revision: 763
* On Windows, pass test_format_newc in bsdcpio_test.Michihiro NAKAJIMA2009-03-061-1/+28
| | | | SVN-Revision: 736
* IFCTim Kientzle2008-08-231-10/+25
| | | | SVN-Revision: 184
* Fix a small race in the format check for cpio; the four entriesTim Kientzle2008-05-111-4/+10
| | | | | | might get slightly different timestamps. SVN-Revision: 40
* Continue populating the libarchive-portable project from my local repository.Tim Kientzle2008-04-291-0/+239
SVN-Revision: 3