diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-10-20 09:05:48 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-10-20 09:05:48 +0200 |
commit | 07264a78e00766cf15ab379baaeec3cea372a33e (patch) | |
tree | 0dc5c376124206a738b349b07e043ec45bc9a896 /tests/parsertest.sh | |
parent | 2deec9a12944129c9dce9ee237d04e0a1a8b082b (diff) | |
download | rsyslog-07264a78e00766cf15ab379baaeec3cea372a33e.tar.gz rsyslog-07264a78e00766cf15ab379baaeec3cea372a33e.tar.xz rsyslog-07264a78e00766cf15ab379baaeec3cea372a33e.zip |
added some tests for IPv4-Only configuration
We are "abusing" the parser tests to test the TCP/UDP reception
handling. Thus we do not run the other tests through to an IPv4
only config. It acutally is not that parser that matters but rather
the hope to find some init issues when running with only a single
listening socket (in IPv6, we usually both have an IPv4 AND an IPv6
listening socket, what - as practice has shown - may hide listener
setup errors).
Diffstat (limited to 'tests/parsertest.sh')
-rwxr-xr-x | tests/parsertest.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/parsertest.sh b/tests/parsertest.sh index 6cfa59b1..470d9375 100755 --- a/tests/parsertest.sh +++ b/tests/parsertest.sh @@ -1,7 +1,13 @@ -echo TEST: parsertest.sh - various parser tests +echo TEST: \[parsertest.sh\]: various parser tests source $srcdir/diag.sh init source $srcdir/diag.sh nettester parse1 udp source $srcdir/diag.sh nettester parse1 tcp source $srcdir/diag.sh nettester parse2 udp source $srcdir/diag.sh nettester parse2 tcp + +echo \[parsertest.sh]: redoing tests in IPv4-only mode +source $srcdir/diag.sh nettester parse1 udp -4 +source $srcdir/diag.sh nettester parse1 tcp -4 +source $srcdir/diag.sh nettester parse2 udp -4 +source $srcdir/diag.sh nettester parse2 tcp -4 source $srcdir/diag.sh init |