diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2010-02-08 17:28:58 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2010-02-08 17:28:58 +0100 |
commit | eff5630ec0944b9fe10a50be7f236ac714807be7 (patch) | |
tree | 54f9845969bb11c80037c883f2b2ce7b89a677ac /tests/parsertest.sh | |
parent | e1584b71f316b9ef2db58c8dbd2218f0b38962e7 (diff) | |
download | rsyslog-eff5630ec0944b9fe10a50be7f236ac714807be7.tar.gz rsyslog-eff5630ec0944b9fe10a50be7f236ac714807be7.tar.xz rsyslog-eff5630ec0944b9fe10a50be7f236ac714807be7.zip |
enhanced test suite
now CSV and regex extraction are being tested (would have caught the
bug fixed with the last commit).
Diffstat (limited to 'tests/parsertest.sh')
-rwxr-xr-x | tests/parsertest.sh | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/tests/parsertest.sh b/tests/parsertest.sh index ef33256e..e0d35218 100755 --- a/tests/parsertest.sh +++ b/tests/parsertest.sh @@ -1,5 +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 init +source $srcdir/diag.sh nettester parse3 udp +source $srcdir/diag.sh nettester parse3 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 parse3 udp -4 +source $srcdir/diag.sh nettester parse3 tcp -4 +source $srcdir/diag.sh exit |