]> git.sur5r.net Git - bacula/bacula/commitdiff
Modify debug
authorKern Sibbald <kern@sibbald.com>
Fri, 27 Jun 2008 07:35:32 +0000 (07:35 +0000)
committerKern Sibbald <kern@sibbald.com>
Fri, 27 Jun 2008 07:35:32 +0000 (07:35 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@7243 91ce42f0-d328-0410-95d8-f526ca767f89

regress/scripts/functions
regress/tests/fast-two-pool-test

index b3285d97520445f9b1fd1b56e6f52a425d100ef3..4ce89add89405645f45d25b222a35c537b7da94d 100644 (file)
@@ -206,13 +206,21 @@ check_two_logs()
 
 check_restore_diff()
 {
-   diff -r build tmp/bacula-restores${cwd}/build 2>&1 >/dev/null
+   if test "$debug" -eq 1 ; then
+      diff -ur build tmp/bacula-restores${cwd}/build
+   else 
+      diff -r build tmp/bacula-restores${cwd}/build 2>&1 >/dev/null
+   fi
    dstat=$?
 }
 
 check_restore_tmp_build_diff()
 {
-   diff -r tmp/build tmp/bacula-restores${cwd}/tmp/build 2>&1 >/dev/null
+   if test "$debug" -eq 1 ; then
+      diff -ur tmp/build tmp/bacula-restores${cwd}/tmp/build
+   else
+      diff -r tmp/build tmp/bacula-restores${cwd}/tmp/build 2>&1 >/dev/null
+   fi
    dstat=$?
 }
 
index 6e8bbab87fbce29f235d1b52cfede4c0eced6492..3087733b96f83236c99898dbfc7bdf59fd5061cf 100755 (executable)
@@ -57,7 +57,7 @@ list jobs
 status storage=DDS-4
 messages
 setdebug level=150 storage=DDS-4
-setdebug level=200 client          
+@#setdebug level=200 client          
 restore where=${cwd}/tmp/bacula-restores select all storage=DDS-4 done
 yes
 wait