]> git.sur5r.net Git - bacula/bacula/commitdiff
ebl Add a migration to this test
authorEric Bollengier <eric@eb.homelinux.org>
Wed, 3 Dec 2008 17:58:20 +0000 (17:58 +0000)
committerEric Bollengier <eric@eb.homelinux.org>
Wed, 3 Dec 2008 17:58:20 +0000 (17:58 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8113 91ce42f0-d328-0410-95d8-f526ca767f89

regress/tests/bsr-read-test

index a45a93cc8e490d57b31965e862a09417c75e0ae4..8c18e022dbf31189e699bce3074988d570dc8a75 100755 (executable)
@@ -9,23 +9,24 @@ JobName=bsr-read
 . scripts/functions
 
 scripts/cleanup
-scripts/copy-test-confs
+scripts/copy-migration-confs
+scripts/prepare-disk-changer
 cp ${cwd}/build/configure ${cwd}/tmp
 cat ${cwd}/build/configure >> ${cwd}/tmp/configure
 echo "${cwd}/tmp/configure" >${cwd}/tmp/file-list
 echo "${cwd}/build" >>${cwd}/tmp/file-list
 
 
-change_jobname CompressedTest $JobName
+change_jobname NightlySave $JobName
 start_test
 
 cat <<END_OF_DATA >${cwd}/tmp/bconcmds
 @$out /dev/null
 messages
 @$out ${cwd}/tmp/log1.out
-label storage=File volume=TestVolume001
-label storage=File volume=TestVolume002
-label storage=File volume=TestVolume003
+label storage=File volume=TestVolume001 pool=Default
+label storage=File volume=TestVolume002 pool=Default
+label storage=File volume=TestVolume003 pool=Default
 update Volume=TestVolume001 maxvolbytes=120000
 update Volume=TestVolume002 maxvolbytes=120000
 run job=$JobName yes
@@ -86,6 +87,13 @@ yes
 wait
 messages
 @$out
+label storage=DiskChanger volume=ChangerVolume001 slot=1 Pool=Full drive=0
+label storage=DiskChanger volume=ChangerVolume002 slot=2 Pool=Full drive=0
+update volume=TestVolume003 volstatus=Used
+run job=migrate-job jobid=1 yes
+run job=migrate-job jobid=2 yes
+wait
+messages
 quit
 END_OF_DATA