From: Eric Bollengier Date: Tue, 22 Jun 2010 14:16:55 +0000 (+0200) Subject: regress: add new diff tool in debug mode X-Git-Tag: Release-7.0.0~1710 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ede8ca1f0a93ee71ae06f72b104f9fa0d8167fdf;p=bacula%2Fbacula regress: add new diff tool in debug mode --- diff --git a/regress/scripts/functions b/regress/scripts/functions index f782318241..1f002881e9 100644 --- a/regress/scripts/functions +++ b/regress/scripts/functions @@ -284,6 +284,7 @@ check_two_logs() check_restore_diff() { if test "$debug" -eq 1 ; then + $rscripts/diff.pl -s ${src} -d ${tmp}/bacula-restores${src} diff -ur ${src} ${tmp}/bacula-restores${src} else diff -ur ${src} ${tmp}/bacula-restores${src} 2>&1 >/dev/null @@ -294,6 +295,7 @@ check_restore_diff() check_restore_bin_diff() { if test "$debug" -eq 1 ; then + $rscripts/diff.pl -s ${bin} -d ${tmp}/bacula-restores${bin} diff -ur ${bin} ${tmp}/bacula-restores${bin} else diff -ur ${bin} ${tmp}/bacula-restores${bin} 2>&1 >/dev/null @@ -305,6 +307,7 @@ check_restore_bin_diff() check_restore_tmp_build_diff() { if test "$debug" -eq 1 ; then + $rscripts/diff.pl -s ${tmpsrc} -d ${tmp}/bacula-restores${tmpsrc} diff -ur ${tmpsrc} ${tmp}/bacula-restores${tmpsrc} else diff -ur ${tmpsrc} ${tmp}/bacula-restores${tmpsrc} 2>&1 >/dev/null