diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2010-04-20 15:37:28 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2010-04-20 15:37:28 +0200 |
commit | e52c7224ba92bc1126c584167124d04f717e48a2 (patch) | |
tree | 418cafe85a465b891f8b97478ec06cc494c6fd26 /tests/diag.sh | |
parent | 1b282841f9f6a48cfefe472e1e42652d8b7cfb0c (diff) | |
download | rsyslog-e52c7224ba92bc1126c584167124d04f717e48a2.tar.gz rsyslog-e52c7224ba92bc1126c584167124d04f717e48a2.tar.xz rsyslog-e52c7224ba92bc1126c584167124d04f717e48a2.zip |
testbench improvement: Java is no longer needed for testing tool creation
Diffstat (limited to 'tests/diag.sh')
-rwxr-xr-x | tests/diag.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/diag.sh b/tests/diag.sh index 54232a37..83d5b561 100755 --- a/tests/diag.sh +++ b/tests/diag.sh @@ -51,9 +51,9 @@ case $1 in 'wait-queueempty') # wait for main message queue to be empty. $2 is the instance. if [ "$2" == "2" ] then - echo WaitMainQueueEmpty | java -classpath $abs_top_builddir DiagTalker + echo WaitMainQueueEmpty | ./diagtalker else - echo WaitMainQueueEmpty | java -classpath $abs_top_builddir DiagTalker 13501 + echo WaitMainQueueEmpty | ./diagtalker fi ;; 'shutdown-when-empty') # shut rsyslogd down when main queue is empty. $2 is the instance. @@ -75,7 +75,7 @@ case $1 in ;; 'injectmsg') # inject messages via our inject interface (imdiag) echo injecting $3 messages - echo injectmsg $2 $3 $4 $5 | java -classpath $abs_top_builddir DiagTalker + echo injectmsg $2 $3 $4 $5 | ./diagtalker # TODO: some return state checking? (does it really make sense here?) ;; 'check-mainq-spool') # check if mainqueue spool files exist, if not abort (we just check .qi). |