]> git.sur5r.net Git - bacula/bacula/commitdiff
Update
authorKern Sibbald <kern@sibbald.com>
Sat, 29 Sep 2007 08:27:27 +0000 (08:27 +0000)
committerKern Sibbald <kern@sibbald.com>
Sat, 29 Sep 2007 08:27:27 +0000 (08:27 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@5688 91ce42f0-d328-0410-95d8-f526ca767f89

regress/scripts/functions
regress/tests/six-vol-test

index aedc62a1b5191b50fbd7f56c774239ed69a3c214..0028283472b980fe124e3908edaa206a26bcfb5b 100644 (file)
@@ -145,15 +145,14 @@ end_test()
       if [ $bstat != 0 -o $rstat != 0 ] ; then
          echo "  !!!!! Bad termination status       !!!!! "
          echo "  !!!!! Bad termination status       !!!!! " >>test.out
-         echo "   Status: backup=$bstat restore=$rstat diff=$dstat"
-         echo "   Status: backup=$bstat restore=$rstat diff=$dstat" >>test.out
       else
          echo "  !!!!! Restored files differ          !!!!! "
          echo "  !!!!! Restored files differ          !!!!! " >>test.out
-         echo "   Status: backup=$bstat restore=$rstat diff=$dstat"
-         echo "   Status: backup=$bstat restore=$rstat diff=$dstat" >>test.out
       fi
+      echo "   Status: backup=$bstat restore=$rstat diff=$dstat"
+      echo "   Status: backup=$bstat restore=$rstat diff=$dstat" >>test.out
       echo " "
+      exit 1
    else
       echo "  ===== $TestName OK `date +%R:%S` ===== "
       echo "  ===== $TestName OK `date +%R:%S` ===== " >>test.out
index 36591d72a9b1f63dc951ae063d911652571e318d..a925ff94e56281f15ed059c56b50b33249172c4c 100755 (executable)
@@ -30,6 +30,7 @@ cat <<END_OF_DATA >tmp/bconcmds
 @output /dev/null
 messages
 @$out tmp/log1.out
+@#setdebug level=50 storage=File
 run job=$JobName storage=File yes
 run job=$JobName storage=File yes
 run job=$JobName storage=File yes
@@ -42,6 +43,11 @@ messages
 @# now do a restore
 @#
 @$out tmp/log2.out
+sql
+select * from JobMedia where JobId=4;
+select * from JobMedia where JobId=5;
+
+@#setdebug level=50 storage=File
 restore where=${cwd}/tmp/bacula-restores select storage=File
 unmark *
 mark *