From bcf12f19b4a9a9053dd7167b2262a813407be92d Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Sun, 4 Dec 2005 14:02:02 +0000 Subject: [PATCH] Update 2 drive test git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@2642 91ce42f0-d328-0410-95d8-f526ca767f89 --- regress/tests/2drive-incremental-2tape | 6 ++++++ regress/tests/bextract-test | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/regress/tests/2drive-incremental-2tape b/regress/tests/2drive-incremental-2tape index c460d17851..6d9a37b066 100755 --- a/regress/tests/2drive-incremental-2tape +++ b/regress/tests/2drive-incremental-2tape @@ -31,6 +31,12 @@ echo "${cwd}/tmp/build/ficheriro1.txt" >restore-list echo "${cwd}/tmp/build/ficheriro2.txt" >>restore-list cd ${cwd} +# Turn off Prefer Mounted Volumes so we use 2 drives +outf="tmp/sed_tmp" +echo "s%# Prefer Mounted Volumes% Prefer Mounted Volumes%g" >${outf} +cp ${cwd}/bin/bacula-dir.conf ${cwd}/tmp/1 +sed -f ${outf} ${cwd}/tmp/1 >${cwd}/bin/bacula-dir.conf + echo " " echo " " echo " === Starting 2drive-incremental-2tape test ===" diff --git a/regress/tests/bextract-test b/regress/tests/bextract-test index 44950aa28e..a07b387a2f 100755 --- a/regress/tests/bextract-test +++ b/regress/tests/bextract-test @@ -4,7 +4,7 @@ # split the archive into two volumes, then build a BSR with # the restore command and use bextract to restore the files. # -debug=1 +debug=0 if test "$debug" -eq 1 ; then out="tee" else -- 2.39.5