summaryrefslogtreecommitdiffstats
path: root/tests/diag.sh
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-11-05 14:34:08 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2009-11-05 14:34:08 +0100
commitcd5f653ad8fa87727bf3ab12b90a41babaaf1ee5 (patch)
tree4e98efffdf24157afe8601a8c381dcc56a0ad354 /tests/diag.sh
parente4ca8a3119ece504819605b340a3f5ba36b3eab6 (diff)
parent6a99be469643ef0214729391f9cef4867b8e9fca (diff)
downloadrsyslog-cd5f653ad8fa87727bf3ab12b90a41babaaf1ee5.tar.gz
rsyslog-cd5f653ad8fa87727bf3ab12b90a41babaaf1ee5.tar.xz
rsyslog-cd5f653ad8fa87727bf3ab12b90a41babaaf1ee5.zip
Merge branch 'v4-beta' into v4-devel
Conflicts: tests/Makefile.am
Diffstat (limited to 'tests/diag.sh')
-rwxr-xr-xtests/diag.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/diag.sh b/tests/diag.sh
index b2bd13ac..4ace2845 100755
--- a/tests/diag.sh
+++ b/tests/diag.sh
@@ -61,6 +61,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?)
;;
@@ -76,7 +77,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