summaryrefslogtreecommitdiffstats
path: root/tests/diag.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/diag.sh')
-rwxr-xr-xtests/diag.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/diag.sh b/tests/diag.sh
index b2bd13ac..56810c4f 100755
--- a/tests/diag.sh
+++ b/tests/diag.sh
@@ -39,6 +39,11 @@ case $1 in
while test -f rsyslog.pid; do
true
done
+ if [ -e core.* ]
+ then
+ echo "ABORT! core file exists, starting interactive shell"
+ bash
+ fi
;;
'wait-queueempty') # wait for main message queue to be empty
echo WaitMainQueueEmpty | java -classpath $abs_top_builddir DiagTalker