]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/tests/two-pool-tape
Update
[bacula/bacula] / regress / tests / two-pool-tape
index f99709b0675252e4e85ba783c96b8de12b87260a..8b15caf13d7ef1ae0a98f31351a62144d8c16014 100755 (executable)
@@ -4,14 +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
 
-. config.out
 if test x${AUTOCHANGER} = x/dev/null ; then
    echo "two-pool-tape test skipped. No autochanger."
    exit
@@ -24,11 +23,11 @@ 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