From b28315eae2cca1b5e2cc537e74f4b5a40ed92294 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Mon, 22 Mar 2010 23:45:31 +0100 Subject: [PATCH] regress: tweak new maxdev-test --- regress/tests/maxdev-test | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/regress/tests/maxdev-test b/regress/tests/maxdev-test index 1e3974840a..ceede3836f 100755 --- a/regress/tests/maxdev-test +++ b/regress/tests/maxdev-test @@ -14,10 +14,11 @@ require_vtape scripts/cleanup scripts/copy-tape-confs -cp $rscripts/bacula-dir-vtape.conf $conf/bacula-dir.conf +sed 's:Job {:Job { ClientRunBeforeJob = "/bin/sleep 5":' \ + $rscripts/bacula-dir-vtape.conf > $conf/bacula-dir.conf sed 's/VTape/VTape; maximum concurrent jobs = 3/' \ $rscripts/bacula-sd-vtape.conf | \ -sed 's/LTO1/LTO3/g' > $conf/bacula-sd.conf + sed 's/LTO1/LTO3/g' > $conf/bacula-sd.conf scripts/prepare-fake-autochanger echo "${cwd}/build" >${cwd}/tmp/file-list @@ -87,7 +88,7 @@ quit END_OF_DATA run_bconsole -check_for_zombie_jobs storage=LTO3 $clientname +check_for_zombie_jobs storage=LTO3 client=$clientname cat <${cwd}/tmp/bconcmds setdebug trace=1 level=0 storage=LTO3 @@ -102,7 +103,7 @@ messages END_OF_DATA run_bconsole -check_for_zombie_jobs storage=LTO3 $clientname +check_for_zombie_jobs storage=LTO3 client=$clientname stop_bacula -- 2.39.5