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 | 
						
					
				
					
						
							
							
								 
								Brian Cox
							
						 | 
						
							
							
							
							
							
								
							
							
								ce25569eea
								
							
						 | 
						
							
							
								
								Use 0 instead of CHILD_ERROR_NATIVE since the latter only exists in Perl >= 5.14.2, and doesn't seem to have any obvious advantages.
							
							
							
							
							
						 | 
						
							2017-09-01 13:48:57 -07:00 | 
						
					
				
					
						
							
							
								 
								Brian Cox
							
						 | 
						
							
							
							
							
							
								
							
							
								0886ea31be
								
							
						 | 
						
							
							
								
								Tweak a couple of test-harness tests to exclude variable properties like access time, since tests aren't interested in that behavior.
							
							
							
							
							
						 | 
						
							2017-08-31 21:44:24 -07:00 | 
						
					
				
					
						
							
							
								 
								Brian Cox
							
						 | 
						
							
							
							
							
							
								
							
							
								5184fe01c4
								
							
						 | 
						
							
							
								
								Customize 'make clean' to also remove test data dirs and gcov files
							
							
							
							
							
						 | 
						
							2017-08-31 19:51:50 -07:00 | 
						
					
				
					
						
							
							
								 
								Brian Cox
							
						 | 
						
							
							
							
							
							
								
							
							
								7fe1e4f79a
								
							
						 | 
						
							
							
								
								Detect support for doors & event ports in a proper autoconf way.
							
							
							
							
							
						 | 
						
							2017-08-31 18:50:02 -07:00 | 
						
					
				
					
						
							
							
								 
								Brian Cox
							
						 | 
						
							
							
							
							
							
								
							
							
								5a34e6f48c
								
							
						 | 
						
							
							
								
								Add a 'targets' make target to list make targets. Also add a 'test' target as an alias of 'check'.
							
							
							
							
							
						 | 
						
							2017-08-29 18:57:59 -07:00 | 
						
					
				
					
						
							
							
								 
								Brian Cox
							
						 | 
						
							
							
							
							
							
								
							
							
								02dd677d71
								
							
						 | 
						
							
							
								
								Tweak .gitignore to ignore gcov files; add a convenience script (lcov.sh) to run lcov & package results
							
							
							
							
							
						 | 
						
							2017-08-28 23:01:35 -07:00 | 
						
					
				
					
						
							
							
								 
								Brian Cox
							
						 | 
						
							
							
							
							
							
								
							
							
								78b09e081f
								
							
						 | 
						
							
							
								
								Add configure options for instrumentation: --enable-coverage & --enable-profiling
							
							
							
							
							
						 | 
						
							2017-08-28 22:28:30 -07:00 | 
						
					
				
					
						
							
							
								 
								Brian Cox
							
						 | 
						
							
							
							
							
							
								
							
							
								7310422053
								
							
						 | 
						
							
							
								
								Clean up iCodeConverter singleton on exit
							
							
							
							
							
						 | 
						
							2017-08-28 20:08:38 -07:00 | 
						
					
				
					
						
							
							
								 
								Brian Cox
							
						 | 
						
							
							
							
							
							
								
							
							
								8bb3669cf7
								
							
						 | 
						
							
							
								
								Enable SYSLOGREPORTING for test-harness tests, so that syslog code gets exercised in testing.
							
							
							
							
							
						 | 
						
							2017-08-27 23:46:31 -07:00 | 
						
					
				
					
						
							
							
								 
								Brian Cox
							
						 | 
						
							
							
							
							
							
								
							
							
								d724c07873
								
							
						 | 
						
							
							
								
								Use a static cFSPropDisplayer instead of creating a fresh one each time someone asks. Addresses a valgrind leak that only manifests in interactive db update mode.
							
							
							
							
							
						 | 
						
							2017-08-27 22:58:58 -07:00 | 
						
					
				
					
						
							
							
								 
								Brian Cox
							
						 | 
						
							
							
							
							
							
								
							
							
								b3b74fd76e
								
							
						 | 
						
							
							
								
								Delete cParseRules when we're done with them. I think this is the last real valgrind issue.
							
							
							
							
							
						 | 
						
							2017-08-27 17:22:31 -07:00 | 
						
					
				
					
						
							
							
								 
								Brian Cox
							
						 | 
						
							
							
							
							
							
								
							
							
								3481d2622a
								
							
						 | 
						
							
							
								
								Fix another leak (via valgrind), this time in cCryptoArchive
							
							
							
							
							
						 | 
						
							2017-08-26 16:10:12 -07:00 | 
						
					
				
					
						
							
							
								 
								Brian Cox
							
						 | 
						
							
							
							
							
							
								
							
							
								b3bcdbbcd9
								
							
						 | 
						
							
							
								
								Fix low hanging fruit items from valgrind memcheck results, mostly array deletes
							
							
							
							
							
						 | 
						
							2017-08-25 12:36:15 -07:00 | 
						
					
				
					
						
							
							
								 
								brc0x1
							
						 | 
						
							
							
							
							
							
								
							
							
								79933005b7
								
							
						 | 
						
							
							
								
								Switch to rbegin() since std::string::back() is a C++11-ism
							
							
							
							
							
						 | 
						
							2017-08-25 08:12:20 -07:00 | 
						
					
				
					
						
							
							
								 
								Brian Cox
							
						 | 
						
							
							
							
							
							
								
							
							
								236d67b941
								
							
						 | 
						
							
							
								
								Sort out a valgrind issue w/ handling TEMPDIRECTORY paths. Clean up formatting in twcmdline's FillOutConfigInfo().
							
							
							
							
							
						 | 
						
							2017-08-26 10:07:27 -07:00 | 
						
					
				
					
						
							
							
								 
								brc0x1
							
						 | 
						
							
							
							
							
							
								
							
							
								92580983ec
								
							
						 | 
						
							
							
								
								Remove more leakage in cHashTable & policy parser
							
							
							
							
							
						 | 
						
							2017-08-25 04:43:52 -07:00 | 
						
					
				
					
						
							
							
								 
								Brian Cox
							
						 | 
						
							
							
							
							
							
								
							
							
								265bc4701e
								
							
						 | 
						
							
							
								
								Turn #ifdef YACC_WINDOWS to #if 0 to make sure untested & unused code stays unused.
							
							
							
							
							
						 | 
						
							2017-08-25 21:37:15 -07:00 | 
						
					
				
					
						
							
							
								 
								Brian Cox
							
						 | 
						
							
							
							
							
							
								
							
							
								dbc48d0326
								
							
						 | 
						
							
							
								
								Merge branch 'dev/next' of https://github.com/Tripwire/tripwire-open-source into dev/next
							
							
							
							
							
						 | 
						
							2017-08-25 19:02:30 -07:00 | 
						
					
				
					
						
							
							
								 
								Brian Cox
							
						 | 
						
							
							
							
							
							
								
							
							
								f4263cf2b8
								
							
						 | 
						
							
							
								
								Comment out some #line directives in twparser, since they confuse gcov
							
							
							
							
							
						 | 
						
							2017-08-25 19:00:39 -07:00 | 
						
					
				
					
						
							
							
								 
								Brian Cox
							
						 | 
						
							
							
							
							
							
								
							
							
								55020401d9
								
							
						 | 
						
							
							
								
								Fix a few simple leaks inside twtest; fix some file permissions that got set wrong in last commit
							
							
							
							
							
						 | 
						
							2017-08-25 18:28:09 -07:00 | 
						
					
				
					
						
							
							
								 
								brc0x1
							
						 | 
						
							
							
							
							
							
								
							
							
								8cec86246f
								
							
						 | 
						
							
							
								
								Fix build issues cross compiling for RISC OS (haven't verified we actually work yet, though); fix a couple of build issues left over from recent test-dir changes to twtest
							
							
							
							
							
						 | 
						
							2017-08-24 19:20:40 -07:00 | 
						
					
				
					
						
							
							
								 
								Brian Cox
							
						 | 
						
							
							
							
							
							
								
							
							
								bd3b071e1b
								
							
						 | 
						
							
							
								
								ifdef out some unused methods in our HAVAL impl.
							
							
							
							
							
						 | 
						
							2017-08-24 00:57:11 -07:00 | 
						
					
				
					
						
							
							
								 
								Brian Cox
							
						 | 
						
							
							
							
							
							
								
							
							
								d0b9b03561
								
							
						 | 
						
							
							
								
								Also tweak unit tests that dropped files in working directory to use our test data dir instead
							
							
							
							
							
						 | 
						
							2017-08-23 23:54:18 -07:00 | 
						
					
				
					
						
							
							
								 
								Brian Cox
							
						 | 
						
							
							
							
							
							
								
							
							
								f5e76827be
								
							
						 | 
						
							
							
								
								Robustify symlink reading in cFSPropCalc, & add a unit test for it. Tweak other unit tests to use a test directory we control, rather than dumping stuff in /tmp
							
							
							
							
							
						 | 
						
							2017-08-23 23:36:21 -07:00 | 
						
					
				
					
						
							
							
								 
								Brian Cox
							
						 | 
						
							
							
							
							
							
								
							
							
								fafa681bce
								
							
						 | 
						
							
							
								
								Fix dbupdate secure-mode test, add a case for updating db twice w/ same report, clean up twtools methods a bit more.
							
							
							
							
							
						 | 
						
							2017-08-23 17:58:12 -07:00 | 
						
					
				
					
						
							
							
								 
								Brian Cox
							
						 | 
						
							
							
							
							
							
								
							
							
								01e25eb493
								
							
						 | 
						
							
							
								
								Remove a couple of unused FSServices methods
							
							
							
							
							
						 | 
						
							2017-08-19 20:38:57 -07:00 | 
						
					
				
					
						
							
							
								 
								Brian Cox
							
						 | 
						
							
							
							
							
							
								
							
							
								97a2d44481
								
							
						 | 
						
							
							
								
								Disable incomplete impl for long property names, but don't remove it in case we want to finish it someday. This ensures that '&unimplemented' is not recognized as a valid property name in policy files.
							
							
							
							
							
						 | 
						
							2017-08-19 20:13:07 -07:00 | 
						
					
				
					
						
							
							
								 
								Brian Cox
							
						 | 
						
							
							
							
							
							
								
							
							
								6582fb77fb
								
							
						 | 
						
							
							
								
								Remove a bunch of unused methods in cTWUtil
							
							
							
							
							
						 | 
						
							2017-08-19 19:54:35 -07:00 | 
						
					
				
					
						
							
							
								 
								Brian Cox
							
						 | 
						
							
							
							
							
							
								
							
							
								dc943880de
								
							
						 | 
						
							
							
								
								Add more bad policy test cases; split good & bad policies into separate tests
							
							
							
							
							
						 | 
						
							2017-08-17 21:26:51 -07:00 | 
						
					
				
					
						
							
							
								 
								Brian Cox
							
						 | 
						
							
							
							
							
							
								
							
							
								b4e530b40f
								
							
						 | 
						
							
							
								
								Clean up create-policy acceptance test; add a dir for bad policy text files (expected to fail) & add the first one, which is just a zero-byte file.
							
							
							
							
							
						 | 
						
							2017-08-17 00:17:28 -07:00 | 
						
					
				
					
						
							
							
								 
								Brian Cox
							
						 | 
						
							
							
							
							
							
								
							
							
								72f042644b
								
							
						 | 
						
							
							
								
								Add test-harness test for policy creation; among other things it tries the policy files in src/parser/testfiles, plus some other test cases. Updated one of the test files so user doesn't need to hand edit it before use.
							
							
							
							
							
						 | 
						
							2017-08-09 23:55:30 -07:00 | 
						
					
				
					
						
							
							
								 
								Brian Cox
							
						 | 
						
							
							
							
							
							
								
							
							
								85fcbb1371
								
							
						 | 
						
							
							
								
								Add IC test cases for named severity, ignored props, & email reporting
							
							
							
							
							
						 | 
						
							2017-08-09 19:39:03 -07:00 | 
						
					
				
					
						
							
							
								 
								Brian Cox
							
						 | 
						
							
							
							
							
							
								
							
							
								4cdb384445
								
							
						 | 
						
							
							
								
								gcov revealed that a few unit tests weren't actually being run, so fixing those, & tweak exception handling in other tests to be more uniform (since we catch everything at the test harness level now)
							
							
							
							
							
						 | 
						
							2017-08-06 18:55:52 -07:00 | 
						
					
				
					
						
							
							
								 
								Brian Cox
							
						 | 
						
							
							
							
							
							
								
							
							
								f02e2c10b5
								
							
						 | 
						
							
							
								
								Add new test-harness tests to exercise various IC mode options, plus tripwire help & version modes
							
							
							
							
							
						 | 
						
							2017-08-05 18:05:21 -07:00 | 
						
					
				
					
						
							
							
								 
								Brian Cox
							
						 | 
						
							
							
							
							
							
								
							
							
								db60f15f23
								
							
						 | 
						
							
							
								
								Fix misspelling of 'UNKNOWN' in a constant name; add a missing bracket in twprint print-db mode help
							
							
							
							
							
						 | 
						
							2017-08-04 23:14:54 -07:00 |