From: Eric Bollengier Date: Tue, 11 Nov 2008 14:46:47 +0000 (+0000) Subject: ebl update new debug-test X-Git-Tag: Release-3.0.0~589 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=17c3ffce1786e8e63236a2c3c785eaf9261dfb48;p=bacula%2Fbacula ebl update new debug-test git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8036 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/regress/tests/debug-test b/regress/tests/debug-test index fd4de2e296..f1e95362da 100755 --- a/regress/tests/debug-test +++ b/regress/tests/debug-test @@ -29,8 +29,21 @@ run_bacula killall -SEGV bacula-dir bacula-sd bacula-fd -grep $JobName working/*dir*bactrace > /dev/null 2>&1 +test -f working/*dir*bactrace dstat=$? +test -f working/*fd*bactrace +dstat=`expr $dstat + $?` +test -f working/*sd*bactrace +dstat=`expr $dstat + $?` +test -f working/*dir*traceback +dstat=`expr $dstat + $?` +test -f working/*fd*traceback +dstat=`expr $dstat + $?` +test -f working/*sd*traceback +dstat=`expr $dstat + $?` + +grep $JobName working/*dir*bactrace > /dev/null 2>&1 +dstat=`expr $dstat + $?` grep bpipe-fd.so working/*fd*bactrace > /dev/null 2>&1 dstat=`expr $dstat + $?` grep $JobName working/*fd*bactrace > /dev/null 2>&1