summaryrefslogtreecommitdiffstats
path: root/tests/diag.sh
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-05-28 15:19:03 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2009-05-28 15:19:03 +0200
commit5514acb7eeaca41f1fd196402ef08efc55bce11c (patch)
tree1e89c9718ea61d8b5104e237e7abea46c46d6062 /tests/diag.sh
parent74ed599ea6ab96cffba35ca14f5654523f89bc61 (diff)
downloadrsyslog-5514acb7eeaca41f1fd196402ef08efc55bce11c.tar.gz
rsyslog-5514acb7eeaca41f1fd196402ef08efc55bce11c.tar.xz
rsyslog-5514acb7eeaca41f1fd196402ef08efc55bce11c.zip
fixed make distcheck
Diffstat (limited to 'tests/diag.sh')
-rwxr-xr-xtests/diag.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/diag.sh b/tests/diag.sh
index 270b30d6..ec2c1190 100755
--- a/tests/diag.sh
+++ b/tests/diag.sh
@@ -7,15 +7,16 @@
# This file is part of the rsyslog project, released under GPLv3
#set -o xtrace
#export RSYSLOG_DEBUG="debug nostdout"
-#export RSYSLOG_DEBUGLOG="tmp"
+#export RSYSLOG_DEBUGLOG="log"
case $1 in
'init') $srcdir/killrsyslog.sh # kill rsyslogd if it runs for some reason
+ cp $srcdir/testsuites/diag-common.conf diag-common.conf
rm -f rsyslogd.started work-*.conf
rm -f work rsyslog.out.log rsyslog.out.log.save # common work files
rm -rf test-spool
mkdir test-spool
;;
- 'exit') rm -f rsyslogd.started work-*.conf
+ 'exit') rm -f rsyslogd.started work-*.conf diag-common.conf
rm -f work rsyslog.out.log rsyslog.out.log.save # common work files
rm -rf test-spool
;;