summaryrefslogtreecommitdiffstats
path: root/tests/tcpflood.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2010-04-29 11:09:43 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2010-04-29 11:09:43 +0100
commit23c7a914b27ee0874208e0b9b70e4a13145f4ed0 (patch)
tree7a92952caa31559f4db50b0175d142df212a15c1 /tests/tcpflood.c
parentdd76d96d676f305aa2d29131321fe5cac5a676c4 (diff)
downloadrsyslog-23c7a914b27ee0874208e0b9b70e4a13145f4ed0.tar.gz
rsyslog-23c7a914b27ee0874208e0b9b70e4a13145f4ed0.tar.xz
rsyslog-23c7a914b27ee0874208e0b9b70e4a13145f4ed0.zip
solved some race condition in testbench
Note that this was NOT a race in rsyslog, but only one in a test case. So it had no implications to the correctness of rsyslogd.
Diffstat (limited to 'tests/tcpflood.c')
-rw-r--r--tests/tcpflood.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/tcpflood.c b/tests/tcpflood.c
index e92d1308..f93a87a2 100644
--- a/tests/tcpflood.c
+++ b/tests/tcpflood.c
@@ -471,6 +471,8 @@ int main(int argc, char *argv[])
exit(1);
}
+ closeConnections();
+
printf("End of tcpflood Run\n");
exit(ret);