Commit Graph

330 Commits

Author SHA1 Message Date
Brian Cox 80db91b4c1 Merge pull request #27 from Tripwire/dev/next
Open Source Tripwire 2.4.3.6
2017-10-01 19:49:45 -07:00
Brian Cox d06b001efe Platform macros for QNX, & recognize the QNX-only 'Named special file' filetype 2017-09-27 20:25:24 -07:00
Brian Cox 38ba317588 Update ChangeLog for 2.4.3.6 (finally); Tweak a TWUtil test so it expects the right uid value on AROS 2017-09-27 00:07:59 -07:00
Brian Cox 9bdb855d9a Don't look for stuff in /dev on AROS during configure, as this pops up an ugly 'Please insert disk' dialog box. 2017-09-26 00:46:56 -07:00
Brian Cox 249c2cd33f Additional unit test tweaks to make DOS+DJGPP happier 2017-09-24 23:48:57 -07:00
Brian Cox 9872bef2f2 Fix/implement more unit tests that were marked as 'skipped' 2017-09-24 18:44:47 -07:00
Brian Cox 1333f3c15e LibertyBSD platform detection 2017-09-23 18:21:13 -07:00
Brian Cox 99641c468f Add a platform macro indicating whether OS lets temp files be unlinked while open 2017-09-23 13:19:40 -07:00
Brian Cox ea885446c2 Small Redox path tweaks 2017-09-22 23:40:36 -07:00
brc0x1 9b6750a98c More for Redox support, & cleaner exclusion of SMTP stuff when SUPPORTS_NETWORKING is false 2017-09-22 21:02:50 -07:00
Brian Cox 6a104efd03 Update config.guess & config.sub to GNU latest (but re-adding MidnightBSD fix); add config macros for struct stat fields that aren't always present (instead of static defines in platform.h); platform detection & path handling for Redox 2017-09-22 20:20:17 -07:00
Brian Cox 3924c4376c Add unit test to verify IS_xxx platform macros are defined correctly 2017-09-21 23:34:41 -07:00
Brian Cox 4f0b019ef3 Tinker with BSD platform detection (now including Bitrig); add policy files for various BSDs (adapted from policy for the closest BSD, Free or Open), plus one for HP-UX adapted from the generic policy 2017-09-21 19:46:56 -07:00
Brian Cox b60dcfa7d6 Merge branch 'dev/next' of https://github.com/Tripwire/tripwire-open-source into dev/next 2017-09-21 13:07:46 -07:00
Brian Cox 096a96ad55 Platform.h tweak & policy file for MirOS BSD 2017-09-21 13:06:52 -07:00
Brian Cox 7545beb0e6 Make sure cFile_i is constructed & destructed cleanly; clean up GetSymLinkStr a bit more; improve Debug/Basic & UnixFSServices/GetExecutableFilename unit tests 2017-09-21 01:12:28 -07:00
brc0x1 a4ae3af444 Fix/implement RISC OS path handling 2017-09-18 17:55:17 -07:00
Brian Cox e18003bb14 AROS path fix 2017-09-13 23:39:50 -07:00
Brian Cox f67c370f29 Enable some new path unit tests 2017-09-13 23:01:22 -07:00
Brian Cox 769874d34b Path fixes for FreeDOS/DJGPP 2017-09-13 21:35:56 -07:00
Brian Cox 4abec97664 Last tweak to dbupdate harness test needed help 2017-09-10 21:01:46 -07:00
Brian Cox 6cf3936319 Test-harness tweaks for DragonflyBSD, where we expect a few fewer changes (access/modify times). Tweak one test expected values to pass, skip 2 more with notes saying they need refactoring. 2017-09-10 20:29:53 -07:00
Brian Cox ee8c63b8f9 In inode count test, update the list of platforms that don't do hardlinks 2017-09-10 12:59:21 -07:00
Brian Cox 541c951715 Fix a typo in readonly test 2017-09-10 01:22:31 -07:00
Brian Cox 8d8652fe93 More platform tweaks for harness tests, this time TODO-ing out a couple of tests for Hurd since it's expected to get fewer violations 2017-09-10 01:16:17 -07:00
Brian Cox 5bea3693b4 One more harness test tweak, avoiding access time violations in the readonly test 2017-09-10 00:44:17 -07:00
Brian Cox 15b7d18104 Couple more test-harness platform tweaks 2017-09-10 00:21:44 -07:00
Brian Cox 2a278ad29b Make 'syslog not supported' a warning vs a fatal error if someone tries to use it on syslog-less platforms; clean up unit & harness tests & handle some per-platform quirks 2017-09-09 23:26:45 -07:00
Brian Cox 9b194b5122 Include OS name in test-harness output 2017-09-09 20:24:17 -07:00
Brian Cox 6f13e00055 Tweak siggen test-harness test for portability, since a few outlier impls of ps (e.g. Haiku) don't support -ef args 2017-09-08 23:00:36 -07:00
Brian Cox 041ca7f3b3 Tweak a couple of tests that generally fail due to environmental issues (locale configuration, local IP <--> hostname mapping, current username) so they're marked as skipped instead of failed when it looks like a configuration problem. 2017-09-08 18:04:35 -07:00
Brian Cox e7b00507e9 Skip a TWLocale test on Cygwin since it doesn't like the 'C' locale 2017-09-08 16:51:49 -07:00
Brian Cox b648b2493f Fix various unit tests that didn't test anything, or needed cleanup; disable some cTWLocale methods that were unused outside of their own unit tests. 2017-09-08 16:31:36 -07:00
Brian Cox f05b85726e Merge branch 'dev/next' of https://github.com/Tripwire/tripwire-open-source into dev/next 2017-09-08 11:59:59 -07:00
Brian Cox 2a3d69e8c9 Fixes for Cygwin: Use local swab() impl, and tweak policy update test-harness test path handling -- it was prepending a path variable that's always empty, but we were also using absolute paths so we didn't notice elsewhere, though we were using paths of the form //foo/bar/baz. Leading double slashes are significant on Cygwin since they're used to denote UNC paths, so tests failed there & uncovered this problem 2017-09-08 11:58:19 -07:00
Brian Cox 140ed7c26c Build fix for AROS (wasn't pulling in errno.h in fsprocalc.cpp, which is now needed for ERANGE symlink check) 2017-09-07 20:42:00 -07:00
Brian Cox 078bf28164 A few little tweaks for SkyOS unit tests & configure robustitude (i.e. relying on stdint.h (if present) to tell us which intrinsic type is 64 bits) 2017-09-07 01:00:58 -07:00
Brian Cox 03bca0ebd4 Modify GetSymLinkStr for platforms that return ERANGE when buffer is too small, like HP_UX; tweak field splitting in crc32 test-harness test, for platforms that separate cksum fields with tabs, like Solaris 10 & maybe earlier. 2017-09-06 12:25:52 -07:00
Brian Cox 159e735ebc Merge branch 'dev/next' of https://github.com/Tripwire/tripwire-open-source into dev/next 2017-09-06 12:11:14 -07:00
Brian Cox a56bae5397 Only use /dev/urandom if --enable-urandom configure arg is used, since current impl falls over on HP-UX & Solaris 10 SPARC & possibly elsewhere 2017-09-05 19:14:27 -07:00
Brian Cox 1566771be0 Tweak install.sh slightly so you can optionally run it standalone instead of thru make install, & add a custom install dir param to it. 2017-09-04 17:24:47 -07:00
Brian Cox e74d916a09 Rename misspelled crytpo_t.cpp -> crypto_t.cpp 2017-09-04 15:37:07 -07:00
Brian Cox a47236408c Add tests to check MD5 & SHA1 impls against RFC test cases 2017-09-04 13:31:44 -07:00
Brian Cox 25ddcc0ca6 Break some big unit tests into smaller ones 2017-09-04 11:47:35 -07:00
Brian Cox e453a81c87 Tweak unit tests that didn't invoke TEST() at all; add operator== to cFCOSpecAttr & cFSPropDisplayer for the sake of unit testing. 2017-09-04 01:35:27 -07:00
Brian Cox 8c73f1cf3b Rework unit test framework (such as it is) to refer to tests by name & not numeric id. Mark tests as skipped if they don't make any TEST assertions or are skipped explicitly 2017-09-03 20:28:24 -07:00
Brian Cox 0d21e71407 Skip crc32 test if 'cksum' is not present for comparison (e.g. SkyOS) 2017-09-03 00:12:54 -07:00
Brian Cox 736a761bff Fix a couple of twtest-only valgrind issues 2017-09-01 19:43:05 -07:00
Brian Cox 7a262bf1c1 Fix AROS build issue that crept in somehow 2017-09-01 17:13:57 -07:00
Brian Cox 9d1d1e19d3 Re-add 'compile' script since make dist/distcheck seem to want it; remove it from .gitignore; recreate root Makefile.in with automake 1.15.1 2017-09-01 14:18:19 -07:00