diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2010-12-13 10:05:26 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2010-12-13 10:05:26 +0100 |
commit | 1cd51a5d5a8a2c662e9ebcdea12b2ae01afd34d3 (patch) | |
tree | 171c7ea54681f8bd2770fadf163cf0e47175ff41 /tests/filewriter.c | |
parent | 8d917d0600495c78cd2fda81cff0e003faddc2ed (diff) | |
download | rsyslog-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.c | 3 |
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) { |