From: Kern Sibbald Date: Sat, 28 Oct 2017 16:34:17 +0000 (+0200) Subject: regress: enhance short-incremental-test X-Git-Tag: Release-9.0.5~31 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ff892b0a34b95b7918bd20592ab7e2572a98f976;p=bacula%2Fbacula regress: enhance short-incremental-test --- diff --git a/regress/tests/short-incremental-test b/regress/tests/short-incremental-test index a6596dbee2..b4ebd5fdde 100755 --- a/regress/tests/short-incremental-test +++ b/regress/tests/short-incremental-test @@ -34,6 +34,8 @@ setdebug level=200 client @#setdebug level=100 director label storage=File volume=TestVolume001 label storage=File volume=TestVolume002 +label storage=File volume=TestVolume003 +label storage=File volume=TestVolume004 run job=$JobName yes status client wait @@ -41,6 +43,7 @@ messages quit END_OF_DATA + run_bacula check_for_zombie_jobs storage=File # @@ -49,6 +52,9 @@ check_for_zombie_jobs storage=File sleep 1 echo "ficheriro1.txt" >${tmpsrc}/ficheriro1.txt cp -f ${tmpsrc}/dird.c ${tmpsrc}/ficheriro2.txt +# set Volumes as read-only +chmod -w $tmp/TestVolume001 +chmod -w $tmp/TestVolume002 cat <${tmp}/bconcmds @output /dev/null @@ -73,6 +79,8 @@ messages setdebug level=4 storage=File run level=Incremental job=$JobName yes wait +llist volumes +wait messages @# @# now do a restore