From e9df7ba8cd7d654a875f96448857f738220e21b9 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Fri, 11 Dec 2009 18:58:14 +0100 Subject: [PATCH] Print any traceback or bactrace --- regress/scripts/cleanup | 2 +- regress/scripts/functions | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/regress/scripts/cleanup b/regress/scripts/cleanup index c262dc8aa9..d63a52e1bf 100755 --- a/regress/scripts/cleanup +++ b/regress/scripts/cleanup @@ -11,7 +11,7 @@ rm -rf ${tmp}/* rm -rf ${working}/log ${tmp}/TEST-* rm -rf ${working}/log ${tmp}/Backup-* rm -rf ${working}/*.bsr ${working}/log*.sd -rm -rf ${working}/*.trace +rm -rf ${working}/*.trace ${working}/*.traceback ${working}/*.bactrace rm -rf ${tmp}disk-changer find . -name "gigaslam.gif" -exec rm -f {} \; diff --git a/regress/scripts/functions b/regress/scripts/functions index 72a2b1934b..a000a7ea87 100644 --- a/regress/scripts/functions +++ b/regress/scripts/functions @@ -315,6 +315,8 @@ check_restore_tmp_build_diff() # end_test() { + cat ${working}/bacula.*.traceback 2>/dev/null + cat ${working}/*.bactrace 2>/dev/null if [ $estat != 0 ] ; then echo " " echo " !!!!! $TestName failed!!! `date +%R:%S` !!!!! " -- 2.39.5