From: Kern Sibbald Date: Fri, 11 Dec 2009 17:58:14 +0000 (+0100) Subject: Print any traceback or bactrace X-Git-Tag: Release-7.0.0~2460 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e9df7ba8cd7d654a875f96448857f738220e21b9;p=bacula%2Fbacula Print any traceback or bactrace --- 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` !!!!! "