summaryrefslogtreecommitdiffstats
path: root/tests/filewriter.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2010-12-13 10:05:26 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2010-12-13 10:05:26 +0100
commit1cd51a5d5a8a2c662e9ebcdea12b2ae01afd34d3 (patch)
tree171c7ea54681f8bd2770fadf163cf0e47175ff41 /tests/filewriter.c
parent8d917d0600495c78cd2fda81cff0e003faddc2ed (diff)
downloadrsyslog-1cd51a5d5a8a2c662e9ebcdea12b2ae01afd34d3.tar.gz
rsyslog-1cd51a5d5a8a2c662e9ebcdea12b2ae01afd34d3.tar.xz
rsyslog-1cd51a5d5a8a2c662e9ebcdea12b2ae01afd34d3.zip
further improved tcpflood testing tool
added capability to wait n usecs between batches of messages
Diffstat (limited to 'tests/filewriter.c')
-rw-r--r--tests/filewriter.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/filewriter.c b/tests/filewriter.c
index f13350f3..07991b1d 100644
--- a/tests/filewriter.c
+++ b/tests/filewriter.c
@@ -101,9 +101,8 @@ genCopies()
lnnbr = 1;
for(i = 0 ; i < nCopies ; ++i) {
if(i % 10000 == 0)
- printf("In copyrun %d\n", i);
+ fprintf(stderr, "copyrun %d\n", i);
if(waitusecs && (i % batchsize == 0)) {
- printf("waiting...\n");
usleep(waitusecs);
}
for(node = root ; node != NULL ; node = node->next) {