summaryrefslogtreecommitdiffstats
path: root/tests/diag.sh
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2010-04-01 15:11:16 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2010-04-01 15:11:16 +0200
commit1cba2162201e98a4a24a3eb19d168c81adf1bbd2 (patch)
treeb3860438eefb1766f17524b5618d1313c1b4934c /tests/diag.sh
parent302ad02e7781892856c1cacaf98a87f90db9571c (diff)
downloadrsyslog-1cba2162201e98a4a24a3eb19d168c81adf1bbd2.tar.gz
rsyslog-1cba2162201e98a4a24a3eb19d168c81adf1bbd2.tar.xz
rsyslog-1cba2162201e98a4a24a3eb19d168c81adf1bbd2.zip
improvded testbench: added test with truly random data received via syslog to test robustness
Diffstat (limited to 'tests/diag.sh')
-rwxr-xr-xtests/diag.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/diag.sh b/tests/diag.sh
index 8f268a5e..2a0e2a44 100755
--- a/tests/diag.sh
+++ b/tests/diag.sh
@@ -17,7 +17,7 @@ case $1 in
cp $srcdir/testsuites/diag-common.conf diag-common.conf
cp $srcdir/testsuites/diag-common2.conf diag-common2.conf
rm -f rsyslog.action.*.include
- rm -f rsyslogd.started work-*.conf
+ rm -f rsyslogd.started work-*.conf rsyslog.random.data
rm -f rsyslogd2.started work-*.conf
rm -f work rsyslog.out.log rsyslog.out.log.save # common work files
rm -f rsyslog.out.*.log
@@ -28,7 +28,7 @@ case $1 in
'exit') rm -f rsyslogd.started work-*.conf diag-common.conf
rm -f rsyslogd2.started diag-common2.conf rsyslog.action.*.include
rm -f work rsyslog.out.log rsyslog.out.log.save # common work files
- rm -f rsyslog.out.*.log
+ rm -f rsyslog.out.*.log rsyslog.random.data
rm -rf test-spool
;;
'startup') # start rsyslogd with default params. $2 is the config file name to use