diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-11-05 14:34:21 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-11-05 14:34:21 +0100 |
commit | 4578dc6a2dc65112f4aaae1524f83cc9b075295d (patch) | |
tree | 7f86aaf79a9b4a77bfb297336b25f1f61007db72 /tests/diag.sh | |
parent | 6d9c54c7a2d4f07b0414082ef9681bd197ed6bde (diff) | |
parent | cd5f653ad8fa87727bf3ab12b90a41babaaf1ee5 (diff) | |
download | rsyslog-4578dc6a2dc65112f4aaae1524f83cc9b075295d.tar.gz rsyslog-4578dc6a2dc65112f4aaae1524f83cc9b075295d.tar.xz rsyslog-4578dc6a2dc65112f4aaae1524f83cc9b075295d.zip |
Merge branch 'v4-devel' into tmp
Diffstat (limited to 'tests/diag.sh')
-rwxr-xr-x | tests/diag.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/diag.sh b/tests/diag.sh index d1bcbe44..50749eaa 100755 --- a/tests/diag.sh +++ b/tests/diag.sh @@ -68,6 +68,7 @@ case $1 in fi ;; 'injectmsg') # inject messages via our inject interface (imdiag) + echo injecting $3 messages echo injectmsg $2 $3 $4 $5 | java -classpath $abs_top_builddir DiagTalker # TODO: some return state checking? (does it really make sense here?) ;; @@ -83,7 +84,8 @@ case $1 in 'seq-check') # do the usual sequence check to see if everything was properly received rm -f work sort < rsyslog.out.log > work - ./chkseq -fwork -e$2 $3 + # $4... are just to have the abilit to pass in more options... + ./chkseq -fwork -v -s$2 -e$3 $4 $5 $6 $7 if [ "$?" -ne "0" ]; then echo "sequence error detected" exit 1 |