From: Eric Bollengier Date: Mon, 22 Mar 2010 22:45:31 +0000 (+0100) Subject: regress: tweak new maxdev-test X-Git-Tag: Release-7.0.0~2040 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b28315eae2cca1b5e2cc537e74f4b5a40ed92294;p=bacula%2Fbacula regress: tweak new maxdev-test --- 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