]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/tests/two-pool-tape
Update
[bacula/bacula] / regress / tests / two-pool-tape
index f46e4c83a722fa0f6ed153cfae6c3a4d3d0f8faa..8b15caf13d7ef1ae0a98f31351a62144d8c16014 100755 (executable)
@@ -4,15 +4,13 @@
 #  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).
 #
 TestName="two-pool-tape"
 JobName=twopooltape
 . scripts/functions
-set_debug 0
 
-. config.out
 if test x${AUTOCHANGER} = x/dev/null ; then
    echo "two-pool-tape test skipped. No autochanger."
    exit
@@ -20,14 +18,16 @@ fi
 
 scripts/cleanup
 scripts/copy-2tape-confs
+echo "Prepare two tapes"
 scripts/prepare-two-tapes
+echo "Done prepare two tapes"
  
 # Make a relatively large backup set 5 x source code directory
-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" >>/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
+echo "${cwd}/build" >>${cwd}/tmp/file-list
 
 start_test
 
@@ -78,4 +78,3 @@ stop_bacula
 check_two_logs
 check_restore_diff
 end_test
-