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