summaryrefslogtreecommitdiffstats
path: root/tests/diag.sh
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2010-04-07 12:42:41 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2010-04-07 12:42:41 +0200
commit2cd132eebb84dbcffcf0c20b9354c14f797c29cd (patch)
tree8bf071c79b8d274179884113cb12ac4ce1328847 /tests/diag.sh
parent23a3fdb094cd992b2081db014d583b975c03ca57 (diff)
downloadrsyslog-2cd132eebb84dbcffcf0c20b9354c14f797c29cd.tar.gz
rsyslog-2cd132eebb84dbcffcf0c20b9354c14f797c29cd.tar.xz
rsyslog-2cd132eebb84dbcffcf0c20b9354c14f797c29cd.zip
enhanced nettester tool so that it re-uses it's callers environment
this enables us to work with the "usual" environment tweaks (for debugging and other purposes), without the need for any special handling in nettester itself
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 c0f736b8..2cc652ad 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