diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-11-05 14:31:37 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-11-05 14:31:37 +0100 |
commit | 6a99be469643ef0214729391f9cef4867b8e9fca (patch) | |
tree | 3ae549560d49a2fa2f7db507f561562f3f6a7594 /tests/diag.sh | |
parent | a5cd509be736fcff3c8ae3104712d2fe85776416 (diff) | |
download | rsyslog-6a99be469643ef0214729391f9cef4867b8e9fca.tar.gz rsyslog-6a99be469643ef0214729391f9cef4867b8e9fca.tar.xz rsyslog-6a99be469643ef0214729391f9cef4867b8e9fca.zip |
added pipe action test to testbench & testbench bugfix
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 13bb877d..60a56f07 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 |