Janmejay Singh
83bb376a34
test to validate stop in foreach works as expected
2015-05-22 09:29:03 +05:30
Tim Eifler
e5229673a0
Shorting names of elasticsearch tests
2015-05-21 16:02:12 +02:00
Rainer Gerhards
5a4be9dbcd
testbench: add support for alternate sort programs
...
This is required for Solaris, which needs "gsort" vs "sort"
closes https://github.com/rsyslog/rsyslog/issues/349
2015-05-21 14:17:13 +02:00
Rainer Gerhards
a7c1283334
Merge branch 'shortnames' of https://github.com/teifler/rsyslog into fix-make-distcheck
2015-05-20 17:09:43 +02:00
Rainer Gerhards
425aecbb7f
testbench: remove test from "make distcheck"
...
we need to check later on how to make it work
2015-05-20 16:33:13 +02:00
Rainer Gerhards
f13734d562
testbench: fix imfile tests
...
some tests had invalid use of the testbench exit functions (should not
be called on error to preserve error state) and also did do some
invalid variable references.
2015-05-20 16:33:13 +02:00
Rainer Gerhards
b6f4fd6afb
testbench: test some imfile test fixes
2015-05-20 16:32:53 +02:00
Rainer Gerhards
3bb425dfe7
working on make distcheck work-around
2015-05-20 13:04:31 +02:00
Tim Eifler
d56f479192
Insert imfile check for some tests
2015-05-20 05:50:03 +02:00
Thomas D
c7f484eb96
Add missing "imfile-readmode2-vg.sh" test to EXTRA_DIST
2015-05-20 01:40:13 +02:00
Tim Eifler
aad0ac85fd
Shortening names of elasticsearch tests
2015-05-20 00:23:49 +02:00
Thomas D
8c6af139a1
Formation normalized
2015-05-19 22:01:47 +02:00
Thomas D
af6da981f5
Fix EXTRA_DIST listing
...
Due to a missing "\" all files after "testsuites/abort-uncleancfg-badcfg.conf"
where missing in the release tarball.
2015-05-19 21:55:39 +02:00
Rainer Gerhards
12182ac630
imfile: fix cosmetic memory leak
...
This "leak" happens only during termination, so it does not
affect real use cases. However, it makes valgrind tests err out.
2015-05-19 09:49:34 +02:00
Rainer Gerhards
6ad84d0baa
testbench: add addtl valgrind test for imfile
2015-05-19 09:33:15 +02:00
Rainer Gerhards
851cb8431e
imfile: rename parameter "endmsg.regex"
...
for more clarity: it's actually the start of the next message!
2015-05-19 09:33:15 +02:00
Rainer Gerhards
ddfd11f2ab
testbench: add forgotten file
2015-05-19 09:33:15 +02:00
Rainer Gerhards
17f1eb70ff
testbench: add memleak check for imfile
2015-05-19 09:32:35 +02:00
Rainer Gerhards
483522a117
imfile: add support for multi-line msg termination via regex
2015-05-19 09:32:35 +02:00
Rainer Gerhards
e1c9a80e69
Merge branch 'master' of https://github.com/janmejay/rsyslog into master-candidate
2015-04-30 11:31:54 +02:00
Rainer Gerhards
fb7b29741b
Merge branch 'master-autodebug' of https://github.com/rgerhards/rsyslog into master-candidate
2015-04-30 11:25:50 +02:00
Rainer Gerhards
7741b1bb40
Merge branch 'abort-on-unclean-bad-case' of https://github.com/teifler/rsyslog into master-candidate
2015-04-30 11:21:06 +02:00
Tim Eifler
c488c58823
Testbench: configuration check with a valid configuration
2015-04-30 10:54:18 +02:00
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