Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bsdcpio_test: from_hex() needs to be an uint32_t | Martin Matuska | 2020-02-27 | 1 | -15/+18 |
| | | | | Fixes #1339 | ||||
* | Add printf attributes to the printflike functions used in tests and fix | zoulasc | 2020-01-23 | 1 | -5/+10 |
| | | | | | | the format errors. Closes #1318 | ||||
* | Fix remaining MinGW tests | Martin Matuska | 2019-04-07 | 1 | -0/+5 |
| | | | | Enable tests on MinGW CI builds | ||||
* | Fix various symlink bugs with Windows symlinks | Martin Matuska | 2019-04-04 | 1 | -1/+1 |
| | | | | tests: extend assertMakeSymlink with targetIsDir | ||||
* | Cpio test: Expected error message depends on local strerror() | Tim Kientzle | 2018-09-02 | 1 | -12/+28 |
| | |||||
* | Fix bugs in test programs which Clang Static Analyzer pointed out. | Michihiro NAKAJIMA | 2012-11-14 | 1 | -2/+2 |
| | |||||
* | Fix build failure caused by the change of r3794 on MSYS. | Michihiro NAKAJIMA | 2011-11-16 | 1 | -0/+2 |
| | | | | SVN-Revision: 3796 | ||||
* | On Windows, we never get a correct number of the nlinks of a directory as ↵ | Michihiro NAKAJIMA | 2011-11-15 | 1 | -0/+2 |
| | | | | | | well as we get it on POSIX system. SVN-Revision: 3794 | ||||
* | Issue 196: cpio format tests should verify that nlinks in the | Tim Kientzle | 2011-11-12 | 1 | -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 NAKAJIMA | 2011-04-13 | 1 | -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 Kientzle | 2009-09-24 | 1 | -41/+38 |
| | | | | SVN-Revision: 1461 | ||||
* | Whitespace cleanup. | Tim Kientzle | 2009-08-06 | 1 | -2/+2 |
| | | | | SVN-Revision: 1343 | ||||
* | Wrap an obscure bit-munging trick in a documented macro to clarify the | Tim Kientzle | 2009-08-04 | 1 | -8/+15 |
| | | | | | | code (and avoid compiler warnings). SVN-Revision: 1336 | ||||
* | We can always assert that the uid is the same for all entries. | Tim Kientzle | 2009-08-02 | 1 | -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 Kientzle | 2009-08-02 | 1 | -13/+10 |
| | | | | SVN-Revision: 1327 | ||||
* | Use assertUmask() instead of unchecked umask(). | Tim Kientzle | 2009-08-02 | 1 | -4/+1 |
| | | | | SVN-Revision: 1324 | ||||
* | Use assertMakeDir() instead of mkdir(). | Tim Kientzle | 2009-08-02 | 1 | -1/+1 |
| | | | | SVN-Revision: 1323 | ||||
* | Convert some cpio/test symlink/hardlink handling to new platform-independent ↵ | Tim Kientzle | 2009-08-02 | 1 | -2/+2 |
| | | | | | | test infrastructure. SVN-Revision: 1318 | ||||
* | Issue 26: On systems where sgid bit propagates to subdirs, we | Tim Kientzle | 2009-04-21 | 1 | -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.x | Charles Wilson | 2009-03-18 | 1 | -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 Wilson | 2009-03-18 | 1 | -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 NAKAJIMA | 2009-03-13 | 1 | -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 NAKAJIMA | 2009-03-06 | 1 | -1/+28 |
| | | | | SVN-Revision: 736 | ||||
* | IFC | Tim Kientzle | 2008-08-23 | 1 | -10/+25 |
| | | | | SVN-Revision: 184 | ||||
* | Fix a small race in the format check for cpio; the four entries | Tim Kientzle | 2008-05-11 | 1 | -4/+10 |
| | | | | | | might get slightly different timestamps. SVN-Revision: 40 | ||||
* | Continue populating the libarchive-portable project from my local repository. | Tim Kientzle | 2008-04-29 | 1 | -0/+239 |
SVN-Revision: 3 |