git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@6527
91ce42f0-d328-0410-95d8-
f526ca767f89
fi
}
+print_debug()
+{
+ if test "$debug" -eq 1 ; then
+ echo $*
+ fi
+}
+
run_bacula()
{
debug_wait
grep yyy ${cwd}/tmp/log3.out > /dev/null
if [ $? != 0 ] ; then
- bstat=2
+ print_debug "Can't find xxx file into 'list files' output (${cwd}/tmp/log3.out)"
+ dstat=2
fi
if grep zzz ${cwd}/tmp/log3.out > /dev/null
then
- bstat=2
+ print_debug "Can't find zzz file into 'list files' output (${cwd}/tmp/log3.out)"
+ dstat=2
fi
stop_bacula