]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/tests/differential-test
regress: add function to create many dirs
[bacula/bacula] / regress / tests / differential-test
index df9b49fd916f3cfb67f94c9bfc0e8513a1049f0a..898147dfc20b07367aa51ec3bdf31fd897c0c057 100755 (executable)
@@ -10,7 +10,7 @@ JobName=differential
 scripts/cleanup
 scripts/copy-test-confs
 echo "${cwd}/tmp/build" >${cwd}/tmp/file-list
-mkdir ${cwd}/tmp/build
+mkdir -p ${cwd}/tmp/build
 cp -p ${cwd}/build/src/dird/*.c ${cwd}/tmp/build
 cd ${cwd}/tmp
 echo "${cwd}/tmp/build/ficheriro1.txt" >restore-list
@@ -25,8 +25,8 @@ cat <<END_OF_DATA >${cwd}/tmp/bconcmds
 messages
 @$out ${cwd}/tmp/log1.out
 setdebug level=100 storage=File
-label storage=File volume=TestVolume002 pool=Default
-label storage=File volume=TestVolume001 pool=Default
+label storage=File volume=TestVolume002
+label storage=File volume=TestVolume001
 run job=$JobName yes
 wait
 messages
@@ -48,7 +48,6 @@ update volume=TestVolume002 VolStatus=Used
 run level=differential job=$JobName yes
 wait
 messages
-@$out
 END_OF_DATA
 
 run_bconsole
@@ -71,7 +70,6 @@ restore where=${cwd}/tmp/bacula-restores storage=File file=<${cwd}/tmp/restore-l
 yes
 wait
 messages
-@$out
 quit
 END_OF_DATA