]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/tests/fast-two-pool-test
ebl show an other bug of the current code
[bacula/bacula] / regress / tests / fast-two-pool-test
index b259efbbfbe624bc8a941452a3d71aa4d6cd8389..3087733b96f83236c99898dbfc7bdf59fd5061cf 100755 (executable)
@@ -4,7 +4,7 @@
 #  an autochanger. Note, the Director has three Pools in its 
 #  conf:  Default, Full, and Inc.  Default is used in the
 #  NightlySave job by default.  What is backed up is what
-#  is in /tmp/file-list, which is by default the Bacula
+#  is in ${cwd}/tmp/file-list, which is by default the Bacula
 #  source code (i.e. the build directory).
 #
 #  Note, we use the virtual disk autochanger.
@@ -13,25 +13,24 @@ TestName="fast-two-pool-test"
 JobName=Fast-two-pool
 . scripts/functions
 
-. config.out
 scripts/cleanup
 scripts/copy-2disk-confs
 scripts/prepare-two-disks
  
 # Make a relatively large backup set 5 x source code directory
 #  Reduced to 1 for portable
-echo "${cwd}/build" >/tmp/file-list
-echo "${cwd}/build" >/tmp/file-list
-echo "${cwd}/build" >/tmp/file-list
-echo "${cwd}/build" >/tmp/file-list
+echo "${cwd}/build" >${cwd}/tmp/file-list
+echo "${cwd}/build" >${cwd}/tmp/file-list
+echo "${cwd}/build" >${cwd}/tmp/file-list
+echo "${cwd}/build" >${cwd}/tmp/file-list
 
 start_test
 
 # Write out bconsole commands to a file
-cat <<END_OF_DATA >tmp/bconcmds
+cat <<END_OF_DATA >${cwd}/tmp/bconcmds
 @output /dev/null
 messages
-@$out tmp/log1.out
+@$out ${cwd}/tmp/log1.out
 @#setdebug level=150 storage=DDS-4
 label storage=DDS-4 volume=TestVolume001 slot=1 pool=Full drive=0
 label storage=DDS-4 volume=TestVolume002 slot=2 pool=Default drive=0
@@ -52,7 +51,13 @@ messages
 @# 
 @# now do a restore
 @#
-@$out tmp/log2.out
+@$out ${cwd}/tmp/log2.out
+list volumes
+list jobs
+status storage=DDS-4
+messages
+setdebug level=150 storage=DDS-4
+@#setdebug level=200 client          
 restore where=${cwd}/tmp/bacula-restores select all storage=DDS-4 done
 yes
 wait