~arges/ubuntu/quantal/rsyslog/fix-lp1059592

« back to all changes in this revision

Viewing changes to tests/imtcp_conndrop.sh

Tags: 5.7.3-1
* New upstream release.
* Upload to unstable.
* debian/patches/02-typo_fix_equation_sign.patch
  - Removed, merged upstream.
* debian/patches/03-atomic_operations.patch
  - Removed, merged upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Test imtcp with many dropping connections
 
2
# added 2010-08-10 by Rgerhards
 
3
#
 
4
# This file is part of the rsyslog project, released  under GPLv3
 
5
echo ====================================================================================
 
6
echo TEST: \[imtcp_conndrop.sh\]: test imtcp with random connection drops
 
7
cat rsyslog.action.1.include
 
8
source $srcdir/diag.sh init
 
9
source $srcdir/diag.sh startup imptcp_large.conf
 
10
# 100 byte messages to gain more practical data use
 
11
source $srcdir/diag.sh tcpflood -c20 -m50000 -r -d100 -P129 -D
 
12
sleep 4 # due to large messages, we need this time for the tcp receiver to settle...
 
13
source $srcdir/diag.sh shutdown-when-empty # shut down rsyslogd when done processing messages
 
14
source $srcdir/diag.sh wait-shutdown       # and wait for it to terminate
 
15
source $srcdir/diag.sh seq-check 0 49999 -E
 
16
source $srcdir/diag.sh exit