]> git.sur5r.net Git - bacula/bacula/commitdiff
Update
authorKern Sibbald <kern@sibbald.com>
Mon, 5 Dec 2005 16:12:56 +0000 (16:12 +0000)
committerKern Sibbald <kern@sibbald.com>
Mon, 5 Dec 2005 16:12:56 +0000 (16:12 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@2647 91ce42f0-d328-0410-95d8-f526ca767f89

regress/Makefile.in
regress/scripts/bacula-dir-tape.conf.in
regress/tests/2drive-incremental-2tape

index d5d82a5053da72a07be1541501dbf370ce5f8723..fb73118a865313aa5cb987083377356a9fbe4b06 100644 (file)
@@ -18,13 +18,13 @@ first_rule: all
 
 all:
 
-setup: bacula
+setup: bacula sed
 
 # 
 # Some machines cannot handle the sticky bit and other garbage that
 #  is in weird-files, so we load and run it only on Linux machines.
 #
-bacula: all sed
+bacula: all
        @rm -rf bin build weird-files tmp
        (if test x`uname` = xLinux -o x`uname` = xFreeBSD ; then \
           tar xfz weird-files.tar.gz ;\
index 203cec84c6f520cbc7a0b7830fe83af2f533d12c..fc5b15b8b21a70b96de0b4594bb630d08893d789 100644 (file)
@@ -36,7 +36,6 @@ Job {
   Pool = Default
   Write Bootstrap = "@working_dir@/NightlySave.bsr"
   Maximum Concurrent Jobs = 4
-# Prefer Mounted Volumes = no
   SpoolData = yes
 # Prefer Mounted Volumes = no
 }
index 8f69bb30af3cdd9044eaefedef8d2954355650da..e330719aa0bf6fa80e5f296e6f7661ef9dc434f7 100755 (executable)
@@ -35,6 +35,8 @@ cd ${cwd}
 outf="tmp/sed_tmp"
 echo "s%# Prefer Mounted Volumes%  Prefer Mounted Volumes%g" >${outf}
 cp ${cwd}/bin/bacula-dir.conf ${cwd}/tmp/1
+# Comment the next line out to write everything to one drive
+#  otherwise, it writes the two jobs to different drives
 sed -f ${outf} ${cwd}/tmp/1 >${cwd}/bin/bacula-dir.conf
 
 echo " "
@@ -50,10 +52,11 @@ messages
 @$out tmp/log1.out
 label storage=DDS-4 volume=TestVolume001 slot=1 Pool=Default drive=0
 label storage=DDS-4 volume=TestVolume002 slot=2 Pool=Default drive=1
-setdebug level=100 storage=DDS-4
+@#setdebug level=100 storage=DDS-4
 run job=NightlySave yes
 run job=NightlySave yes
 wait
+list volumes
 status storage=DDS-4
 messages
 quit
@@ -79,6 +82,7 @@ status storage=DDS-4
 @#setdebug level=400 storage=DDS-4
 run level=Incremental job=NightlySave yes
 wait
+list volumes
 status storage=DDS-4
 messages
 @#