From ede8ca1f0a93ee71ae06f72b104f9fa0d8167fdf Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Tue, 22 Jun 2010 16:16:55 +0200 Subject: [PATCH] regress: add new diff tool in debug mode --- regress/scripts/functions | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.39.5