789 Commits

Author SHA1 Message Date
Rainer Gerhards
79507951e5 testbench: add addtl tests for mmpstrucdata 2015-04-30 10:41:32 +02:00
Tim Eifler
cd515d75e2 Same test with new syntax 2015-04-30 10:00:13 +02:00
Rainer Gerhards
3f6eed40c8 testbench: automatically obtain test name for retesting 2015-04-30 09:08:02 +02:00
Tim Eifler
2038c80e5e Testbench: add test for $AbortOnUncleanConfig (bad case) 2015-04-29 15:17:42 +02:00
Janmejay Singh
2808d4805e Fixed race-condition in async-action that is to consume mutating messages (it optionally allows message to be copied, rather than just reffered-to, so async-queue has a copy which does not change). It is an optional-param, defaulted to current behaviour of not copying.
This is not required for 'call <ruleset>' statements, because they already copy message.

As of now, this is relevant when foreach feeds messages to an async-action.
2015-04-14 11:15:14 +05:30
Janmejay Singh
c1419bc94f cleaned-up what looked like a typo in gdb hands-free auto-diagnose-failing-test scripting 2015-04-14 08:56:21 +05:30
Janmejay Singh
c9d7d85d01 Test and fix for "No initialization of action/call statements in body of foreach statement"
(+ added some files which were missed in the commit before, test related to asserting behavior when non-array object is iterated upon)
2015-04-14 08:54:54 +05:30
Janmejay Singh
b353879610 type-check object to ensure its an array before using it like one for loop 2015-04-08 12:35:35 +05:30
Rainer Gerhards
7094ed98ee Merge branch 'master' into v8-stable 2015-04-07 13:34:55 +02:00
Rainer Gerhards
56c1945180 Merge pull request #246 from CodeHarsh/master
Adding new format support for error file in omelasticsearch bulk insert mode
2015-04-03 19:14:39 +02:00
Rainer Gerhards
77857eb3b8 Merge pull request #285 from rgerhards/rger-imfile-fix-multiline
fix partial data loss in imfile
2015-03-30 12:37:28 +02:00
Rainer Gerhards
515b82df72 testbench: remove dumb testing aid
This lead to always-failing test for obvious reasons...
2015-03-30 11:55:44 +02:00
Rainer Gerhards
059658abe0 cleanup: remove debug file 2015-03-29 15:27:57 +02:00
Rainer Gerhards
0d98ad57e0 Merge pull request #287 from rgerhards/testbench-fix-racy-test
testbench: try to solve race by giving more time to settle
2015-03-29 15:28:06 +02:00
Rainer Gerhards
e8e87d7b4e build system: fix cop&paste error 2015-03-29 14:38:59 +02:00
Rainer Gerhards
4380f88adf testbench: some cleanup 2015-03-29 14:38:59 +02:00
Rainer Gerhards
bdfb382eb1 testbench: changing license as agreed on by Radu
The original test was mine, so I can change the license and
Radu has agreed to ASL 2.0.

see also https://github.com/rsyslog/rsyslog/pull/275
2015-03-29 14:38:59 +02:00
Rainer Gerhards
6fa2a61667 testbench: add missing files
were forgotten two commits ago
2015-03-29 14:38:59 +02:00
Rainer Gerhards
dd546f82a5 imfile: proper handling of multiline messages after rsyslog restart
handling of persisted info (and polling loops) was not correct.

This needs some cleanup but I hope to find some folks for
independent testing before I declare victory.

see also https://github.com/rsyslog/rsyslog/issues/144
2015-03-29 14:38:59 +02:00
Radu Gheorghe
83f911ae4c added test for imfile ReadMode=2. See https://github.com/rsyslog/rsyslog/issues/144 2015-03-29 14:38:59 +02:00
Radu Gheorghe
b907285873 added test for imfile ReadMode=2. See https://github.com/rsyslog/rsyslog/issues/144 2015-03-29 14:38:59 +02:00
Rainer Gerhards
4650750640 Merge remote-tracking branch 'github/master-candidate' into master-candidate 2015-03-25 09:43:54 +01:00
Rainer Gerhards
19c873ea44 Merge pull request #261 from Whissi/run-queue-persist.sh-once
tests: Run queue-persist.sh only once
2015-03-17 12:16:06 +01:00
Thomas D
45069fad94 tests: Add missing mmnormalize_*.rulebase files to EXTRA_DIST target 2015-03-11 15:42:14 +01:00
Thomas D
31a5edc9be tests: Run queue-persist.sh only once
queue-persist.sh was called twice in Makefile.
2015-03-08 21:05:03 +01:00
Rainer Gerhards
34300db47f imuxsock: new config options for parsing
Add option "parsehostname" to permit setting this explicitely.
Also added system log socket equivalents for new parsing options.
2015-03-06 11:09:50 +01:00
Rainer Gerhards
a3a21cc763 muxsock: permit to use regular parser chain
introduces new parameter "useSpecialParser"
2015-03-06 11:09:50 +01:00
Rainer Gerhards
d28efbe56b testbench: try to solve race by giving more time to settle
closes https://github.com/rsyslog/rsyslog/issues/229
2015-03-05 11:30:16 +01:00
Rainer Gerhards
bf14ecaf14 testbench: provide better diagnostics for failing test 2015-03-03 09:13:19 +01:00
Rainer Gerhards
f1b93eabce Merge branch 'master' into v8-stable 2015-02-24 17:24:24 +01:00
Rainer Gerhards
9fc4b529ad Merge branch 'master' into v8-stable
Conflicts:
	tests/testsuites/sndrcv_udp_nonstdpt_v6_sender.conf
2015-02-24 17:22:45 +01:00
Rainer Gerhards
30123eb689 testbench: add test for imptcp framing fix input parameter 2015-02-24 16:58:22 +01:00
Rainer Gerhards
1c871979ff testbench: add test for new imtcp "framingfix.cisco.asa" parameter 2015-02-24 08:57:11 +01:00
Harshvardhan Shrivastava
156acc36fe Comment style changed to c-style and corrected file name causing travis failure 2015-02-23 20:55:00 +05:30
Harshvardhan Shrivastava
bd7f56a007 Adding option to have omelasticsearch's error file to have error only and interleaved format in bulk insert failure 2015-02-23 20:51:47 +05:30
Rainer Gerhards
638bd0ca70 Merge pull request #244 from teifler/testbench-AbortOnUnclearConfig
Testbench: add test for $AbortOnUncleanConfig  (good case)
2015-02-12 14:12:24 +01:00
Tim Eifler
42be56344b testbench: test update Abort-uncleancfg-goodcfg 2015-02-04 11:36:26 +01:00
Tim Eifler
5652a7417d testbench: new test abort-uncleancfg-goodcfg to test the directiv AbortOnUncleanConfig 2015-02-04 10:55:58 +01:00
Rainer Gerhards
4684eccac9 testbench: add tests for non-octet-counted modes 2015-01-30 16:02:37 +01:00
Tim Eifler
248589bfe1 testbench: new test deadlock_2 2015-01-27 20:12:53 +01:00
Rainer Gerhards
6069aecaf5 Merge branch 'testbench_new_test_2' of https://github.com/teifler/rsyslog into master-candidate 2015-01-26 17:36:21 +01:00
Rainer Gerhards
2731f85fca Merge branch 'testbench_new_test' of https://github.com/teifler/rsyslog into master-candidate 2015-01-26 17:18:02 +01:00
Rainer Gerhards
9744102085 Merge branch 'testbench_fix_3' of https://github.com/teifler/rsyslog into master-candidate 2015-01-26 17:16:15 +01:00
Tim Eifler
4e05c63b0c testbench: asynwr_timeout with other parameters 2015-01-26 17:08:39 +01:00
Tim Eifler
53d4ebe873 testbench: new test 2015-01-26 17:01:01 +01:00
Tim Eifler
bfa512437f testbench test: fixed typo 2015-01-26 16:45:40 +01:00
Tim Eifler
233a62b7db testbench: typo fixed 2015-01-26 15:23:28 +01:00
Tim Eifler
15f884ebc4 testbench bugfix: typo fix 2015-01-23 16:16:51 +01:00
Rainer Gerhards
c5829f67f3 testbench: automatically call debug helpers on test failure 2015-01-20 15:15:21 +01:00
Janmejay Singh
0db5aed1e5 mmnormalize regex test which expects regex support now runs only if liblognorm is built with regex support enabled
(commit edited to fix a mistake that unintentionally disturbed mmjsonparse)

(rebased to master-mmnormalize)
2014-12-17 11:40:47 +01:00