]> git.sur5r.net Git - bacula/bacula/commitdiff
regress: add new diff tool in debug mode
authorEric Bollengier <eric@eb.homelinux.org>
Tue, 22 Jun 2010 14:16:55 +0000 (16:16 +0200)
committerEric Bollengier <eric@eb.homelinux.org>
Mon, 2 Aug 2010 14:53:56 +0000 (16:53 +0200)
regress/scripts/functions

index f782318241aa9af4841268327d4c1e4d417abb78..1f002881e98bad9fd648133b3521187b43eb24d0 100644 (file)
@@ -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