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-5.2.1~1245 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ae12ff67e20f3b6b0c57dd94d3576b98baf9c06c;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