]> git.sur5r.net Git - bacula/bacula/commitdiff
ebl update new debug-test
authorEric Bollengier <eric@eb.homelinux.org>
Tue, 11 Nov 2008 14:46:47 +0000 (14:46 +0000)
committerEric Bollengier <eric@eb.homelinux.org>
Tue, 11 Nov 2008 14:46:47 +0000 (14:46 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8036 91ce42f0-d328-0410-95d8-f526ca767f89

regress/tests/debug-test

index fd4de2e296f4cad2b0a9b1d7dba269fc4bb8ff99..f1e95362dad3c19639c81bcfb2aee0749d3f7a87 100755 (executable)
@@ -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