summaryrefslogtreecommitdiffstats
path: root/tests/killrsyslog.sh
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-11-11 11:44:24 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2009-11-11 11:44:24 +0100
commit7077420d58a56a29995e7930bd7943bb7f9b5bdf (patch)
treebc3e9ae7abcc4b4a01d9accf8ab8c24922846133 /tests/killrsyslog.sh
parentb4dd4ef83a51bc91a5861c0dd2809263e60cd05d (diff)
downloadrsyslog-7077420d58a56a29995e7930bd7943bb7f9b5bdf.tar.gz
rsyslog-7077420d58a56a29995e7930bd7943bb7f9b5bdf.tar.xz
rsyslog-7077420d58a56a29995e7930bd7943bb7f9b5bdf.zip
added support for dual-rsyslogd-instance test cases to testbench
... plus a simple initial test of the tcp forwarding capability.
Diffstat (limited to 'tests/killrsyslog.sh')
-rwxr-xr-xtests/killrsyslog.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/killrsyslog.sh b/tests/killrsyslog.sh
index c9b6e0ac..aa342c1c 100755
--- a/tests/killrsyslog.sh
+++ b/tests/killrsyslog.sh
@@ -5,3 +5,9 @@ then
kill -9 `cat rsyslog.pid`
sleep 1
fi
+if [ -e "rsyslog2.pid" ]
+then
+ echo rsyslog2.pid exists, trying to shut down rsyslogd process `cat rsyslog.pid`.
+ kill -9 `cat rsyslog2.pid`
+ sleep 1
+fi